ADTF
|
Use this Stream Meta Type for describing a audio stream with samples and sample rate. More...
Static Public Member Functions | |
static void | SetProperties (const adtf::ucom::iobject_ptr< adtf::base::IProperties > &pProperties) |
Sets the default properties to the given pProperties . More... | |
Static Public Attributes | |
static constexpr const tChar *const | MetaTypeName = "adtf/audio" |
StreamMetaTypeName for audiotype (audio stream). | |
static constexpr const tChar *const | FormatName = "format_name" |
Name for the Property of the format name. More... | |
static constexpr const tChar *const | ChannelCount = "channel_count" |
Name for the Property for the amount of channels. More... | |
static constexpr const tChar *const | SampleRateHz = "sample_rate_hz" |
Name for the Property for the sample rate in hz. More... | |
static constexpr const tChar *const | BitsPerSample = "bits_per_sample" |
Name for the Property for number of bits per sample. More... | |
static constexpr const tChar *const | SampleCount = "sample_count" |
Name for the Property for number of samples. More... | |
Use this Stream Meta Type for describing a audio stream with samples and sample rate.
Concept template to create the "adtf/audio" Stream Meta Type for the generator template stream_meta_type.
Definition at line 30 of file streammetatypeaudio.h.
|
inlinestatic |
Sets the default properties to the given pProperties
.
pProperties | The properties where to set the default properties to |
Definition at line 65 of file streammetatypeaudio.h.
References stream_meta_type_audio::BitsPerSample, stream_meta_type_audio::ChannelCount, stream_meta_type_audio::FormatName, stream_meta_type_audio::SampleCount, and stream_meta_type_audio::SampleRateHz.
|
staticconstexpr |
Name for the Property for number of bits per sample.
Name for the Property for number of bits per sample.
Definition at line 54 of file streammetatypeaudio.h.
Referenced by adtf::streaming::lucky::get_stream_type_audio_format(), adtf::streaming::lucky::set_stream_type_audio_format(), and stream_meta_type_audio::SetProperties().
|
staticconstexpr |
Name for the Property for the amount of channels.
Name for the Property for the amount of channels.
Definition at line 44 of file streammetatypeaudio.h.
Referenced by adtf::streaming::lucky::get_stream_type_audio_format(), adtf::streaming::lucky::set_stream_type_audio_format(), and stream_meta_type_audio::SetProperties().
|
staticconstexpr |
Name for the Property of the format name.
Name for the Property of the format name.
Definition at line 39 of file streammetatypeaudio.h.
Referenced by adtf::streaming::lucky::get_stream_type_audio_format(), adtf::streaming::lucky::set_stream_type_audio_format(), and stream_meta_type_audio::SetProperties().
|
staticconstexpr |
Name for the Property for number of samples.
Name for the Property for number of samples
Definition at line 59 of file streammetatypeaudio.h.
Referenced by adtf::streaming::lucky::get_stream_type_audio_format(), adtf::streaming::lucky::set_stream_type_audio_format(), and stream_meta_type_audio::SetProperties().
|
staticconstexpr |
Name for the Property for the sample rate in hz.
Name for the Property for the sample rate in hz.
Definition at line 49 of file streammetatypeaudio.h.
Referenced by adtf::streaming::lucky::get_stream_type_audio_format(), adtf::streaming::lucky::set_stream_type_audio_format(), and stream_meta_type_audio::SetProperties().