Tizen WASM Player
Tizen TV WebAssembly Media Player extension allowing for a low-level elementary media stream playback.
samsung::wasm::ElementaryAudioTrackConfig Struct Referencefinal

#include <elementary_audio_track_config.h>

Inheritance diagram for samsung::wasm::ElementaryAudioTrackConfig:
Collaboration diagram for samsung::wasm::ElementaryAudioTrackConfig:

Public Member Functions

 ElementaryAudioTrackConfig ()
 
 ElementaryAudioTrackConfig (std::string mime_type, std::vector< uint8_t > extradata, SampleFormat sample_format, ChannelLayout channel_layout, uint32_t samples_per_second)
 
 ElementaryAudioTrackConfig (std::string mime_type, std::vector< uint8_t > extradata, DecodingMode decoding_mode, SampleFormat sample_format, ChannelLayout channel_layout, uint32_t samples_per_second)
 
- Public Member Functions inherited from samsung::wasm::ElementaryMediaTrackConfig
 ElementaryMediaTrackConfig ()
 
 ElementaryMediaTrackConfig (std::string mime_type, std::vector< uint8_t > extradata)
 
 ElementaryMediaTrackConfig (std::string mime_type, std::vector< uint8_t > extradata, DecodingMode decoding_mode)
 

Public Attributes

SampleFormat sample_format
 
ChannelLayout channel_layout
 
uint32_t samples_per_second
 
- Public Attributes inherited from samsung::wasm::ElementaryMediaTrackConfig
std::string mime_type
 MIME containing codec and profile. More...
 
std::vector< uint8_t > extradata
 Extra data for codec. More...
 
DecodingMode decoding_mode {DecodingMode::kHardware}
 

Detailed Description

Contains audio ElementaryMediaTrack config.

Remarks
Currently, if audio is encoded in PCM (codecs="pcm" in MIME type), the only supported sample format is kS16

Definition at line 73 of file elementary_audio_track_config.h.

Constructor & Destructor Documentation

◆ ElementaryAudioTrackConfig() [1/3]

samsung::wasm::ElementaryAudioTrackConfig::ElementaryAudioTrackConfig ( )
inline

Definition at line 74 of file elementary_audio_track_config.h.

◆ ElementaryAudioTrackConfig() [2/3]

samsung::wasm::ElementaryAudioTrackConfig::ElementaryAudioTrackConfig ( std::string  mime_type,
std::vector< uint8_t >  extradata,
SampleFormat  sample_format,
ChannelLayout  channel_layout,
uint32_t  samples_per_second 
)
inline

Definition at line 76 of file elementary_audio_track_config.h.

◆ ElementaryAudioTrackConfig() [3/3]

samsung::wasm::ElementaryAudioTrackConfig::ElementaryAudioTrackConfig ( std::string  mime_type,
std::vector< uint8_t >  extradata,
DecodingMode  decoding_mode,
SampleFormat  sample_format,
ChannelLayout  channel_layout,
uint32_t  samples_per_second 
)
inline

Definition at line 88 of file elementary_audio_track_config.h.

Member Data Documentation

◆ channel_layout

ChannelLayout samsung::wasm::ElementaryAudioTrackConfig::channel_layout

Definition at line 102 of file elementary_audio_track_config.h.

◆ sample_format

SampleFormat samsung::wasm::ElementaryAudioTrackConfig::sample_format

Definition at line 101 of file elementary_audio_track_config.h.

◆ samples_per_second

uint32_t samsung::wasm::ElementaryAudioTrackConfig::samples_per_second

Definition at line 103 of file elementary_audio_track_config.h.


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