Utilities

struct SimpleObjectHolder

Simple holder used as return type for createSimpleObject().

Gives access to all elements created by createSimpleObject(). This exists basically to give quick and convenient direct access to the elements after creation.

Public Members

std::shared_ptr<AudioObject> audioObject
std::shared_ptr<AudioPackFormat> audioPackFormat
std::shared_ptr<AudioChannelFormat> audioChannelFormat
std::shared_ptr<AudioStreamFormat> audioStreamFormat
std::shared_ptr<AudioTrackFormat> audioTrackFormat
std::shared_ptr<AudioTrackUid> audioTrackUid
SimpleObjectHolder adm::createSimpleObject(const std::string &name)

AudioObject hierarchie creation for single TypeDefinition::OBJECTS-type element

Create an AudioObject including refrenced AudioPackFormat and AudioChannelFormat of type TypeDefinition::OBJECTS, as well an AudioTrackUid, the referenced AudioTrackFormat and AudioStreamFormat of type FormatDefinition::PCM.

Parameters
  • name: Name that will be used for the created Audio{Object,PackFormat,ChannelFormat}.