igor::iAudioImpl Class Reference

Public Member Functions

 iAudioImpl ()
 
 ~iAudioImpl ()
 
void init ()
 
void deinit ()
 
bool isInitialized () const
 
bool createBuffer (iAudioBuffer &audioBuffer, int16 numChannels, int16 bitsPerSample, int32 sampleRate, const char *buffer, int32 bufferSize)
 
void destroyBuffer (const iAudioBuffer &buffer)
 
void updateListener (const iaMatrixd &matrix, const iaVector3d velocity)
 
bool createSource (iAudioSource &audioSource)
 
void destroySource (const iAudioSource &source)
 
void setSourcePitch (const iAudioSource &source, float32 pitch)
 
void setSourceDirectChannel (const iAudioSource &source, bool on)
 
void setSourceGain (const iAudioSource &source, float32 gain)
 
void setSourceLoop (const iAudioSource &source, bool loop)
 
void updateSource (const iAudioSource &source, const iaVector3d &position, const iaVector3d velocity)
 
void playSource (const iAudioSource &source)
 
void stopSource (const iAudioSource &source)
 
void bindSource (const iAudioSource &source, iAudioBuffer &buffer)
 

Constructor & Destructor Documentation

◆ iAudioImpl()

igor::iAudioImpl::iAudioImpl ( )
inline

◆ ~iAudioImpl()

igor::iAudioImpl::~iAudioImpl ( )
inline

Member Function Documentation

◆ bindSource()

void igor::iAudioImpl::bindSource ( const iAudioSource source,
iAudioBuffer buffer 
)
inline

◆ createBuffer()

bool igor::iAudioImpl::createBuffer ( iAudioBuffer audioBuffer,
int16  numChannels,
int16  bitsPerSample,
int32  sampleRate,
const char *  buffer,
int32  bufferSize 
)
inline

◆ createSource()

bool igor::iAudioImpl::createSource ( iAudioSource audioSource)
inline

◆ deinit()

void igor::iAudioImpl::deinit ( )
inline

◆ destroyBuffer()

void igor::iAudioImpl::destroyBuffer ( const iAudioBuffer buffer)
inline

◆ destroySource()

void igor::iAudioImpl::destroySource ( const iAudioSource source)
inline

◆ init()

void igor::iAudioImpl::init ( )
inline

◆ isInitialized()

bool igor::iAudioImpl::isInitialized ( ) const
inline

◆ playSource()

void igor::iAudioImpl::playSource ( const iAudioSource source)
inline

◆ setSourceDirectChannel()

void igor::iAudioImpl::setSourceDirectChannel ( const iAudioSource source,
bool  on 
)
inline

◆ setSourceGain()

void igor::iAudioImpl::setSourceGain ( const iAudioSource source,
float32  gain 
)
inline

◆ setSourceLoop()

void igor::iAudioImpl::setSourceLoop ( const iAudioSource source,
bool  loop 
)
inline

◆ setSourcePitch()

void igor::iAudioImpl::setSourcePitch ( const iAudioSource source,
float32  pitch 
)
inline

◆ stopSource()

void igor::iAudioImpl::stopSource ( const iAudioSource source)
inline

◆ updateListener()

void igor::iAudioImpl::updateListener ( const iaMatrixd matrix,
const iaVector3d  velocity 
)
inline

◆ updateSource()

void igor::iAudioImpl::updateSource ( const iAudioSource source,
const iaVector3d position,
const iaVector3d  velocity 
)
inline

The documentation for this class was generated from the following file: