SFXALBuffer
Engine/source/sfx/openal/sfxALBuffer.h
Public Types
Parent
Public Friends
class
class
Protected Attributes
ALuint
AL buffer in case this is a static, non-streaming buffer.
Vector< ALuint >
Free buffers for use in queuing in case this is a streaming buffer.
bool
bool
Protected Functions
SFXALBuffer(const OPENALFNTABLE & oalft, const ThreadSafeRef< SFXStream > & stream, SFXDescription * description, bool useHardware)
ALenum
write(SFXInternal::SFXStreamPacket *const * packets, U32 num)
Protected Static Functions
ALenum
_sfxFormatToALFormat(const SFXFormat & format)
Public Static Functions
create(const OPENALFNTABLE & oalft, const ThreadSafeRef< SFXStream > & stream, SFXDescription * description, bool useHardware)
Public Functions
Detailed Description
Public Types
typedef SFXBuffer Parent
Public Friends
Protected Attributes
ALuint mALBuffer
AL buffer in case this is a static, non-streaming buffer.
Vector< ALuint > mFreeBuffers
Free buffers for use in queuing in case this is a streaming buffer.
bool mIs3d
const OPENALFNTABLE & mOpenAL
bool mUseHardware
Protected Functions
SFXALBuffer(const OPENALFNTABLE & oalft, const ThreadSafeRef< SFXStream > & stream, SFXDescription * description, bool useHardware)
_flush()
Reimplemented from: SFXBuffer
_getALFormat()
_getUniqueVoice()
write(SFXInternal::SFXStreamPacket *const * packets, U32 num)
Protected Static Functions
_sfxFormatToALFormat(const SFXFormat & format)
Public Static Functions
create(const OPENALFNTABLE & oalft, const ThreadSafeRef< SFXStream > & stream, SFXDescription * description, bool useHardware)