SFXALBuffer

Engine/source/sfx/openal/sfxALBuffer.h

More...

Public Types

Parent 

Public Friends

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

Protected Functions

SFXALBuffer(const OPENALFNTABLE & oalft, const ThreadSafeRef< SFXStream > & stream, SFXDescription * description, bool useHardware)

Flush all queue state for this buffer on the device.

ALenum

Protected Static Functions

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)

Public Functions

~SFXALBuffer()