37 static constexpr
const tChar *
const FormatName =
"format_name";
42 static constexpr
const tChar *
const ChannelCount =
"channel_count";
47 static constexpr
const tChar *
const SampleRateHz =
"sample_rate_hz";
57 static constexpr
const tChar *
const SampleCount =
"sample_count";
130 return !(oLeft == oRight);
144 adtf_util::cString strMetaType;
157 RETURN_ERROR(ERR_INVALID_TYPE);
171 adtf_util::cString strMetaType;
184 RETURN_ERROR(ERR_INVALID_TYPE);
210 using ant::stream_meta_type_audio;
211 using lucky::tStreamAudioFormat;
Property property implementation template.
Defines access methods for the interface of a Stream Type - see also Stream Type and Stream Meta Type...
virtual tResult GetMetaTypeName(base::ant::IString &&strTypeName) const =0
Get the meta type name of this instance.
Base object pointer to realize binary compatible reference counting in interface methods.
Object pointer implementation used for reference counting on objects of type IObject.
ucom::ant::object_ptr< ant::IStreamType > create_adtf_audio_stream_type()
Convinience functionality to create a stream type audio - see Stream Meta Type "adtf/audio".
tResult set_stream_type_audio_format(IStreamType &oType, const tStreamAudioFormat &sFormat)
sets the audio format properties within the stream type if meta type "adtf/audio" is set
bool operator==(const tStreamAudioFormat &oLeft, const tStreamAudioFormat &oRight)
is equal operator to compare tStreamAudioFormat
bool operator!=(const tStreamAudioFormat &oLeft, const tStreamAudioFormat &oRight)
is not equal operator to compare tStreamAudioFormat
tResult get_stream_type_audio_format(tStreamAudioFormat &sFormat, const IStreamType &oType)
retrievs the audio format from the properties of the stream type if meta type "adtf/audio" is set.
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
#define adtf_string_intf(__string__)
The adtf_string_intf Macro helps to easily create a rvalue reference of a adtf::util::cString.
#define THROW_IF_FAILED(s)
throws if the expression returns a failed tResult