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;
171 adtf_util::cString strMetaType;
193ADTF3_DEPRECATED(
"Use adtf::ucom::make_object_ptr<stream_type_audio<>>() instead.")
206ADTF3_DEPRECATED(
"Use adtf::ucom::make_object_ptr<stream_type_audio<>>(const tStreamAudioFormat&) instead.")
226template<
typename T = lucky::tStreamAudioFormat>
229 static_assert(std::is_same_v<lucky::tStreamAudioFormat, T>,
230 "Currently only T=lucky::tStreamAudioFormat is possible."
231 "To support your own type you need to specialize this template stream_type_audio<T>");
238 stream_type_audio(
const T& sAudioFormat):
#define ADTF3_DEPRECATED(_depr_message_)
Definition adtf_base_deprecated.h:27
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition result.h:736
#define RETURN_NOERROR
Return status ERR_NOERROR, which requires the calling function's return type to be tResult.
Definition result.h:29
#define RETURN_ERROR(code)
Return specific error code, which requires the calling function's return type to be tResult.
Definition result.h:42
#define THROW_IF_FAILED(s)
throws if the expression returns a failed tResult
Definition result.h:88
Definition properties_v2.h:283
Defines access methods for the interface of a Stream Type.
Definition streamtype_intf.h:96
virtual tResult GetMetaTypeName(base::ant::IString &&strTypeName) const =0
Get the meta type name of this instance.
Definition streamtype.h:276
Generator template to create an instance of a ant::IStreamType class for ant::stream_meta_type_audio ...
Definition streammetatypeaudio.h:228
Namespace for all functionality of the ADTF Streaming SDK provided since v3.0.
Definition bindingproxyoutport.h:16
Namespace for all functionality of the ADTF Streaming SDK provided since v3.11.
Definition streammetatypeaudio.h:76
ucom::ant::object_ptr< ant::IStreamType > create_adtf_audio_stream_type()
Definition streammetatypeaudio.h:194
tResult set_stream_type_audio_format(IStreamType &oType, const tStreamAudioFormat &sFormat)
Definition streammetatypeaudio.h:142
bool operator==(const tStreamAudioFormat &oLeft, const tStreamAudioFormat &oRight)
Definition streammetatypeaudio.h:112
bool operator!=(const tStreamAudioFormat &oLeft, const tStreamAudioFormat &oRight)
Definition streammetatypeaudio.h:128
tResult get_stream_type_audio_format(tStreamAudioFormat &sFormat, const IStreamType &oType)
Definition streammetatypeaudio.h:169
Namespace for the ADTF Streaming SDK.
Definition bindingproxyinport.h:14
VALUETYPE get_property(const IStreamType &oStreamType, const char *strNameOfValue, VALUETYPE oDefaultValue)
Definition streamtype_intf.h:287
tResult set_property(IStreamType &oStreamType, const char *strNameOfValue, VALUETYPE oValue)
Definition streamtype_intf.h:257
object_ptr< Implementation > make_object_ptr(Args &&... args)
Create an instance of type object_ptr with Implementation as the shared resource.
Definition object_ptr_utilities.h:129
Namespace for the ADTF uCOM SDK.
Definition adtf_system.h:324
ant::iobject_ptr< T > iobject_ptr
Alias always bringing the latest version of ant::iobject_ptr into scope.
Definition object_ptr_intf.h:437
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14
#define adtf_string_intf(__string__)
Definition string_intf.h:465