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

Contains audio ElementaryMediaTrack config. More...

#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.

Definition at line 69 of file elementary_audio_track_config.h.

Constructor & Destructor Documentation

◆ ElementaryAudioTrackConfig() [1/3]

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

Definition at line 70 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 72 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 84 of file elementary_audio_track_config.h.

Member Data Documentation

◆ channel_layout

ChannelLayout samsung::wasm::ElementaryAudioTrackConfig::channel_layout

Definition at line 98 of file elementary_audio_track_config.h.

◆ sample_format

SampleFormat samsung::wasm::ElementaryAudioTrackConfig::sample_format

Definition at line 97 of file elementary_audio_track_config.h.

◆ samples_per_second

uint32_t samsung::wasm::ElementaryAudioTrackConfig::samples_per_second

Definition at line 99 of file elementary_audio_track_config.h.


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