Pepper_47_C_interfaces
|
#include <ppb_media_data_source_samsung.h>
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.
PP_AudioCodec_Profile_Samsung(* PPB_AudioElementaryStream_Samsung_1_0::GetAudioCodecProfile)(PP_Resource stream) |
Retrieves current audio codec profile.
[in] | stream | A PP_Resource identifying the audio elementary stream. |
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.
[in] | stream | A PP_Resource identifying the audio elementary stream. |
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.
[in] | stream | A PP_Resource identifying the audio elementary stream. |
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.
[in] | stream | A PP_Resource identifying the audio elementary stream. |
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.
[in] | stream | A PP_Resource identifying the audio elementary stream. |
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).
[in] | stream | A PP_Resource identifying the audio elementary stream. |
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.
[in] | resource | A PP_Resource identifying a resource. |
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.
[in] | stream | A PP_Resource identifying the audio elementary stream. |
[in] | profile | New 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.
[in] | stream | A PP_Resource identifying the audio elementary stream. |
[in] | audio_codec | New 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.
[in] | stream | A PP_Resource identifying the audio elementary stream. |
[in] | bits_per_channel | Value 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.
[in] | stream | A PP_Resource identifying the audio elementary stream. |
[in] | audio_codec | New 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.
[in] | stream | A PP_Resource identifying the audio elementary stream. |
[in] | extra_data_size | Size in bytes of |extra_data| buffer. |
[in] | extra_data | A 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.
[in] | stream | A PP_Resource identifying the audio elementary stream. |
[in] | sample_format | New 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).
[in] | stream | A PP_Resource identifying the audio elementary stream. |
[in] | samples_per_second | Value representing audio samples per second. |
Definition at line 578 of file ppb_media_data_source_samsung.h.