![]() |
VR-Forces Developer's Guide
|
Loads a .meaf (MAK Encrypted Audio Format) file as a makAudio::DtSource.
Registered with makAudio::DtAudioManager for the "meaf" extension during vrvAudio plugin initialization.

Public Member Functions | |
| DtMeafSource (const DtFilename &filename, bool forceMono=false, ALCcontext *context=nullptr) | |
| virtual | ~DtMeafSource () |
| virtual bool | load () |
| virtual bool | unLoad () |
| virtual void | reset () |
| virtual void | finishedBuffer (unsigned int bufferId) |
| virtual makAudio::DtAudioBuffer * | nextBuffer (unsigned int &nextBufferIndex) |
Private Attributes | |
| bool | myForceMono |
|
explicit |
CTOR.
| filename | Path to the .meaf file to load. |
| forceMono | When true, stereo files are downmixed to mono so that OpenAL can spatialize them as 3D positional sources. |
|
virtual |
DTOR.
|
virtual |
Decode the .meaf file and upload PCM data to the OpenAL context.
|
virtual |
Release all audio buffers.
|
virtual |
NOOP.
|
virtual |
Returns the next audio buffer at nextBufferIndex, then increments it.
| nextBufferIndex | Index into the internal buffer list; incremented on return. |
|
private |