Murl::Resource::Audio Class Reference
The abstract base class for an audio resource. More...
#include "murl_resource_audio.h"
Inheritance diagram for Murl::Resource::Audio:
Additional Inherited Members | |
Public Types inherited from Murl::IFactoryObject< IObject > | |
using | ClassInfoArray = Array< const ClassInfo * > |
Definition of an array of ClassInfo objects. | |
Public Member Functions inherited from Murl::Resource::IObject | |
virtual Bool | CreateBinary (Data &data) const =0 |
Create a binary representation from the object. More... | |
virtual Bool | GetFileDependencies (Array< String > &fileNames) const =0 |
Fill a given string array with names of files the resource depends on. More... | |
Public Member Functions inherited from Murl::IFactoryObject< IObject > | |
~IFactoryObject () override | |
The destructor. | |
virtual const ClassInfo * | GetObjectClassInfo () const=0 |
Get the object instance's class info, if present. More... | |
virtual void | ResetObjectProperties ()=0 |
Reset the object instance's properties to their default values. | |
Public Member Functions inherited from Murl::Resource::IAudio | |
virtual UInt32 | GetSampleRate (UInt32 streamIndex) const =0 |
Get the audio stream's sample rate. More... | |
virtual UInt32 | GetNumberOfSamples (UInt32 streamIndex) const =0 |
Get the audio stream's total number of samples. More... | |
virtual IEnums::SampleFormat | GetSampleFormat (UInt32 streamIndex) const =0 |
Get the audio stream's original (preferred) sample format. More... | |
virtual IEnums::AudioStreamFormat | GetAudioStreamFormat (UInt32 streamIndex) const =0 |
Get the audio stream's actual format. More... | |
virtual IAudioStream * | CreateStream (UInt32 streamIndex) const =0 |
Create an IAudioStream object from the resource, with default sample format. More... | |
virtual IAudioStream * | CreateStream (UInt32 streamIndex, IEnums::SampleFormat sampleFormat) const =0 |
Create an IAudioStream object from the resource, with given sample format. More... | |
Static Public Member Functions inherited from Murl::IFactoryObject< IObject > | |
static const PropertyInfo * | GetPropertyInfo () |
Get the class' property info struct. More... | |
static const AttributeInfo * | GetAttributeInfo () |
Get the class' attribute info struct. More... | |
static void | ResetProperties (IFactoryObject< IObject > *object) |
Reset an object instance's properties to their default values. More... | |
Detailed Description
The abstract base class for an audio resource.
The documentation for this class was generated from the following file:
- murl_resource_audio.h