ADTF
Loading...
Searching...
No Matches
adtf::streaming::stream_meta_type_audio Struct Reference

Use this Stream Meta Type for describing a audio stream with samples and sample rate. More...

#include <streammetatypeaudio.h>

Static Public Member Functions

static void SetProperties (const adtf::ucom::iobject_ptr< adtf::base::IProperties > &pProperties)
 

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.
 
static constexpr const tChar *const ChannelCount = "channel_count"
 Name for the Property for the amount of channels.
 
static constexpr const tChar *const SampleRateHz = "sample_rate_hz"
 Name for the Property for the sample rate in hz.
 
static constexpr const tChar *const BitsPerSample = "bits_per_sample"
 Name for the Property for number of bits per sample.
 
static constexpr const tChar *const SampleCount = "sample_count"
 Name for the Property for number of samples.
 

Detailed Description

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.

Remarks
Mind that this defines only the absolute minimum of properties for audio storage, many formats will require additional properties.

Member Function Documentation

◆ SetProperties()

static void adtf::streaming::ant::stream_meta_type_audio::SetProperties ( const adtf::ucom::iobject_ptr< adtf::base::IProperties > & pProperties)
inlinestatic

Sets the default properties to the given pProperties.

Parameters
pPropertiesThe properties where to set the default properties to

Member Data Documentation

◆ BitsPerSample

const tChar* const adtf::streaming::ant::stream_meta_type_audio::BitsPerSample = "bits_per_sample"
staticconstexpr

Name for the Property for number of bits per sample.

Name for the Property for number of bits per sample.

◆ ChannelCount

const tChar* const adtf::streaming::ant::stream_meta_type_audio::ChannelCount = "channel_count"
staticconstexpr

Name for the Property for the amount of channels.

Name for the Property for the amount of channels.

◆ FormatName

const tChar* const adtf::streaming::ant::stream_meta_type_audio::FormatName = "format_name"
staticconstexpr

Name for the Property of the format name.

Name for the Property of the format name.

◆ SampleCount

const tChar* const adtf::streaming::ant::stream_meta_type_audio::SampleCount = "sample_count"
staticconstexpr

Name for the Property for number of samples.

Name for the Property for number of samples

◆ SampleRateHz

const tChar* const adtf::streaming::ant::stream_meta_type_audio::SampleRateHz = "sample_rate_hz"
staticconstexpr

Name for the Property for the sample rate in hz.

Name for the Property for the sample rate in hz.


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