Maratis Engine
|
#include <MSoundContext.h>
Public Member Functions | |
virtual | ~MSoundContext (void) |
virtual void | initContext (void)=0 |
virtual void | createBuffer (unsigned int *bufferId)=0 |
virtual void | deleteBuffer (unsigned int *bufferId)=0 |
virtual void | sendBufferSound (unsigned int bufferId, MSound *sound)=0 |
virtual void | sendBufferData (unsigned int bufferId, M_SOUND_FORMAT format, void *data, unsigned int size, unsigned int freq)=0 |
virtual float | getBufferDuration (unsigned int bufferId)=0 |
virtual void | createSource (unsigned int *sourceId, unsigned int bufferId)=0 |
virtual void | deleteSource (unsigned int *sourceId)=0 |
virtual void | enableSourceLoop (unsigned int sourceId)=0 |
virtual void | disableSourceLoop (unsigned int sourceId)=0 |
virtual void | setSourceRelative (unsigned int sourceId, bool relative)=0 |
virtual void | setSourceBufferId (unsigned int sourceId, unsigned int bufferId)=0 |
virtual void | setSourcePosition (unsigned int sourceId, const MVector3 &position)=0 |
virtual void | setSourceRadius (unsigned int sourceId, float radius)=0 |
virtual void | setSourcePitch (unsigned int sourceId, float pitch)=0 |
virtual void | setSourceGain (unsigned int sourceId, float gain)=0 |
virtual void | setSourceRolloff (unsigned int sourceId, float rolloff)=0 |
virtual void | setSourceOffset (unsigned int sourceId, float offset)=0 |
virtual float | getSourceOffset (unsigned int sourceId)=0 |
virtual void | playSource (unsigned int sourceId)=0 |
virtual void | pauseSource (unsigned int sourceId)=0 |
virtual void | stopSource (unsigned int sourceId)=0 |
virtual bool | isSourcePaused (unsigned int sourceId)=0 |
virtual bool | isSourcePlaying (unsigned int sourceId)=0 |
virtual float | getSourceTimePos (unsigned int sourceId)=0 |
virtual void | queueSourceBuffer (unsigned int sourceId, unsigned int *buffers, unsigned int bufferSize)=0 |
virtual void | unqueueSourceBuffer (unsigned int sourceId, unsigned int *buffers, unsigned int bufferSize)=0 |
virtual unsigned int | getSourceBuffersQueued (unsigned int sourceId)=0 |
virtual unsigned int | getSourceBuffersProcessed (unsigned int sourceId)=0 |
virtual void | updateListenerPosition (const MVector3 &position, const MVector3 &direction, const MVector3 &up)=0 |
virtual MSoundContext::~MSoundContext | ( | void | ) | [inline, virtual] |
virtual void MSoundContext::createBuffer | ( | unsigned int * | bufferId | ) | [pure virtual] |
virtual void MSoundContext::createSource | ( | unsigned int * | sourceId, |
unsigned int | bufferId | ||
) | [pure virtual] |
virtual void MSoundContext::deleteBuffer | ( | unsigned int * | bufferId | ) | [pure virtual] |
virtual void MSoundContext::deleteSource | ( | unsigned int * | sourceId | ) | [pure virtual] |
virtual void MSoundContext::disableSourceLoop | ( | unsigned int | sourceId | ) | [pure virtual] |
virtual void MSoundContext::enableSourceLoop | ( | unsigned int | sourceId | ) | [pure virtual] |
virtual float MSoundContext::getBufferDuration | ( | unsigned int | bufferId | ) | [pure virtual] |
virtual unsigned int MSoundContext::getSourceBuffersProcessed | ( | unsigned int | sourceId | ) | [pure virtual] |
virtual unsigned int MSoundContext::getSourceBuffersQueued | ( | unsigned int | sourceId | ) | [pure virtual] |
virtual float MSoundContext::getSourceOffset | ( | unsigned int | sourceId | ) | [pure virtual] |
virtual float MSoundContext::getSourceTimePos | ( | unsigned int | sourceId | ) | [pure virtual] |
virtual void MSoundContext::initContext | ( | void | ) | [pure virtual] |
virtual bool MSoundContext::isSourcePaused | ( | unsigned int | sourceId | ) | [pure virtual] |
virtual bool MSoundContext::isSourcePlaying | ( | unsigned int | sourceId | ) | [pure virtual] |
virtual void MSoundContext::pauseSource | ( | unsigned int | sourceId | ) | [pure virtual] |
virtual void MSoundContext::playSource | ( | unsigned int | sourceId | ) | [pure virtual] |
virtual void MSoundContext::queueSourceBuffer | ( | unsigned int | sourceId, |
unsigned int * | buffers, | ||
unsigned int | bufferSize | ||
) | [pure virtual] |
virtual void MSoundContext::sendBufferData | ( | unsigned int | bufferId, |
M_SOUND_FORMAT | format, | ||
void * | data, | ||
unsigned int | size, | ||
unsigned int | freq | ||
) | [pure virtual] |
virtual void MSoundContext::sendBufferSound | ( | unsigned int | bufferId, |
MSound * | sound | ||
) | [pure virtual] |
virtual void MSoundContext::setSourceBufferId | ( | unsigned int | sourceId, |
unsigned int | bufferId | ||
) | [pure virtual] |
virtual void MSoundContext::setSourceGain | ( | unsigned int | sourceId, |
float | gain | ||
) | [pure virtual] |
virtual void MSoundContext::setSourceOffset | ( | unsigned int | sourceId, |
float | offset | ||
) | [pure virtual] |
virtual void MSoundContext::setSourcePitch | ( | unsigned int | sourceId, |
float | pitch | ||
) | [pure virtual] |
virtual void MSoundContext::setSourcePosition | ( | unsigned int | sourceId, |
const MVector3 & | position | ||
) | [pure virtual] |
virtual void MSoundContext::setSourceRadius | ( | unsigned int | sourceId, |
float | radius | ||
) | [pure virtual] |
virtual void MSoundContext::setSourceRelative | ( | unsigned int | sourceId, |
bool | relative | ||
) | [pure virtual] |
virtual void MSoundContext::setSourceRolloff | ( | unsigned int | sourceId, |
float | rolloff | ||
) | [pure virtual] |
virtual void MSoundContext::stopSource | ( | unsigned int | sourceId | ) | [pure virtual] |
virtual void MSoundContext::unqueueSourceBuffer | ( | unsigned int | sourceId, |
unsigned int * | buffers, | ||
unsigned int | bufferSize | ||
) | [pure virtual] |
virtual void MSoundContext::updateListenerPosition | ( | const MVector3 & | position, |
const MVector3 & | direction, | ||
const MVector3 & | up | ||
) | [pure virtual] |