Pepper_47_C_interfaces
Public Attributes | List of all members
PPB_AudioElementaryStream_Samsung_1_0 Struct Reference

#include <ppb_media_data_source_samsung.h>

Collaboration diagram for PPB_AudioElementaryStream_Samsung_1_0:
Collaboration graph

Public Attributes

PP_Bool(* IsAudioElementaryStream )(PP_Resource resource)
 
PP_AudioCodec_Type_Samsung(* GetAudioCodecType )(PP_Resource stream)
 
void(* SetAudioCodecType )(PP_Resource stream, PP_AudioCodec_Type_Samsung audio_codec)
 
PP_AudioCodec_Profile_Samsung(* GetAudioCodecProfile )(PP_Resource stream)
 
void(* SetAudioCodecProfile )(PP_Resource stream, PP_AudioCodec_Profile_Samsung profile)
 
PP_SampleFormat_Samsung(* GetSampleFormat )(PP_Resource stream)
 
void(* SetSampleFormat )(PP_Resource stream, PP_SampleFormat_Samsung sample_format)
 
PP_ChannelLayout_Samsung(* GetChannelLayout )(PP_Resource stream)
 
void(* SetChannelLayout )(PP_Resource stream, PP_ChannelLayout_Samsung channel_layout)
 
int32_t(* GetBitsPerChannel )(PP_Resource stream)
 
void(* SetBitsPerChannel )(PP_Resource stream, int32_t bits_per_channel)
 
int32_t(* GetSamplesPerSecond )(PP_Resource stream)
 
void(* SetSamplesPerSecond )(PP_Resource stream, int32_t samples_per_second)
 
void(* SetCodecExtraData )(PP_Resource stream, uint32_t extra_data_size, const void *extra_data)
 

Detailed Description

Interface representing an audio elementary stream and containing methods to set audio codec specific configuration.

All pending configuration changes/initialization must be confirmed by call to PPB_ElementaryStream_Samsung.InitializeDone.

All getters return last set configuration, which might be not confirmed yet.

Definition at line 460 of file ppb_media_data_source_samsung.h.

Member Data Documentation

PP_AudioCodec_Profile_Samsung(* PPB_AudioElementaryStream_Samsung_1_0::GetAudioCodecProfile)(PP_Resource stream)

Retrieves current audio codec profile.

Parameters
[in]streamA PP_Resource identifying the audio elementary stream.
Returns
Current audio codec profile.

Definition at line 497 of file ppb_media_data_source_samsung.h.

PP_AudioCodec_Type_Samsung(* PPB_AudioElementaryStream_Samsung_1_0::GetAudioCodecType)(PP_Resource stream)

Retrieves current audio codec type.

Parameters
[in]streamA PP_Resource identifying the audio elementary stream.
Returns
Current audio codec type.

Definition at line 479 of file ppb_media_data_source_samsung.h.

int32_t(* PPB_AudioElementaryStream_Samsung_1_0::GetBitsPerChannel)(PP_Resource stream)

Retrieves how many bits are used to represent audio sample per each channel.

Parameters
[in]streamA PP_Resource identifying the audio elementary stream.
Returns
How many bits are used to represent audio sample per each channel.

Definition at line 552 of file ppb_media_data_source_samsung.h.

PP_ChannelLayout_Samsung(* PPB_AudioElementaryStream_Samsung_1_0::GetChannelLayout)(PP_Resource stream)

Retrieves current audio channel layout.

Parameters
[in]streamA PP_Resource identifying the audio elementary stream.
Returns
current audio channel layout.

Definition at line 533 of file ppb_media_data_source_samsung.h.

PP_SampleFormat_Samsung(* PPB_AudioElementaryStream_Samsung_1_0::GetSampleFormat)(PP_Resource stream)

Retrieves current audio sample format.

Parameters
[in]streamA PP_Resource identifying the audio elementary stream.
Returns
Current audio sample format.

Definition at line 515 of file ppb_media_data_source_samsung.h.

int32_t(* PPB_AudioElementaryStream_Samsung_1_0::GetSamplesPerSecond)(PP_Resource stream)

Retrieves how many audio samples were recorded per second (sample rate).

Parameters
[in]streamA PP_Resource identifying the audio elementary stream.
Returns
Current audio samples per second.

Definition at line 570 of file ppb_media_data_source_samsung.h.

PP_Bool(* PPB_AudioElementaryStream_Samsung_1_0::IsAudioElementaryStream)(PP_Resource resource)

Determines if the given resource is an audio elementary stream.

Parameters
[in]resourceA PP_Resource identifying a resource.
Returns
PP_TRUE if the resource is a PPB_AudioElementaryStream_Samsung, PP_FALSE if the resource is invalid or some other type.

Definition at line 470 of file ppb_media_data_source_samsung.h.

void(* PPB_AudioElementaryStream_Samsung_1_0::SetAudioCodecProfile)(PP_Resource stream, PP_AudioCodec_Profile_Samsung profile)

Sets new audio codec profile.

Parameters
[in]streamA PP_Resource identifying the audio elementary stream.
[in]profileNew audio codec profile.

Definition at line 505 of file ppb_media_data_source_samsung.h.

void(* PPB_AudioElementaryStream_Samsung_1_0::SetAudioCodecType)(PP_Resource stream, PP_AudioCodec_Type_Samsung audio_codec)

Sets new audio codec type.

Parameters
[in]streamA PP_Resource identifying the audio elementary stream.
[in]audio_codecNew audio codec type.

Definition at line 487 of file ppb_media_data_source_samsung.h.

void(* PPB_AudioElementaryStream_Samsung_1_0::SetBitsPerChannel)(PP_Resource stream, int32_t bits_per_channel)

Sets how many bits are used to represent audio sample per each channel.

Parameters
[in]streamA PP_Resource identifying the audio elementary stream.
[in]bits_per_channelValue representing how many bits are used to represent audio sample per each channel.

Definition at line 561 of file ppb_media_data_source_samsung.h.

void(* PPB_AudioElementaryStream_Samsung_1_0::SetChannelLayout)(PP_Resource stream, PP_ChannelLayout_Samsung channel_layout)

Sets new audio channel layout.

Parameters
[in]streamA PP_Resource identifying the audio elementary stream.
[in]audio_codecNew audio channel layout.

Definition at line 541 of file ppb_media_data_source_samsung.h.

void(* PPB_AudioElementaryStream_Samsung_1_0::SetCodecExtraData)(PP_Resource stream, uint32_t extra_data_size, const void *extra_data)

Sets audio codec specific extra data. Those data are needed by audio codec to initialize properly audio decoding.

Parameters
[in]streamA PP_Resource identifying the audio elementary stream.
[in]extra_data_sizeSize in bytes of |extra_data| buffer.
[in]extra_dataA pointer to the buffer containing audio codec specific extra data.

Definition at line 589 of file ppb_media_data_source_samsung.h.

void(* PPB_AudioElementaryStream_Samsung_1_0::SetSampleFormat)(PP_Resource stream, PP_SampleFormat_Samsung sample_format)

Sets new audio sample format.

Parameters
[in]streamA PP_Resource identifying the audio elementary stream.
[in]sample_formatNew audio sample format.

Definition at line 523 of file ppb_media_data_source_samsung.h.

void(* PPB_AudioElementaryStream_Samsung_1_0::SetSamplesPerSecond)(PP_Resource stream, int32_t samples_per_second)

Sets how many audio samples were recorded per second (sample rate).

Parameters
[in]streamA PP_Resource identifying the audio elementary stream.
[in]samples_per_secondValue representing audio samples per second.

Definition at line 578 of file ppb_media_data_source_samsung.h.


The documentation for this struct was generated from the following file: