#include <audio/resource/audiofileresource.h>
Public Member Functions | |
MultiAudioFileResource (Core &core) | |
bool | init (utility::ErrorState &errorState) override |
![]() | |
AudioBufferResource (Core &) | |
float | getSampleRate () const |
DiscreteTimeValue | getSize () const |
unsigned int | getChannelCount () const |
SafePtr< MultiSampleBuffer > | getBuffer () |
DiscreteTimeValue | toSamples (TimeValue milliseconds) const |
TimeValue | toMilliseconds (DiscreteTimeValue samples) const |
![]() | |
Resource () | |
![]() | |
Object () | |
virtual | ~Object () |
virtual void | onDestroy () |
Object (Object &)=delete | |
Object & | operator= (const Object &)=delete |
Object (Object &&)=delete | |
Object & | operator= (Object &&)=delete |
Public Attributes | |
std::vector< std::string > | mAudioFilePaths |
property: 'AudioFilePaths' The paths to the audio files on disk More... | |
![]() | |
std::string | mID |
Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
Additional Inherited Members | |
![]() | |
static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) |
![]() | |
void | setSampleRate (float sampleRate) |
An audio buffer resource whose content is made up out of the content of multiple audio files on disk. Each file adds it's channels as new channels to the resource. So two stereo files will make a quadro resource.
MultiAudioFileResource | ( | Core & | core | ) |
|
overridevirtual |
Override this method to initialize the object after de-serialization. When called it is safe to assume that all dependencies have been resolved up to this point.
errorState | should contain the error message when initialization fails. |
Reimplemented from Object.
std::vector<std::string> mAudioFilePaths |
property: 'AudioFilePaths' The paths to the audio files on disk