Public Member Functions

sp::audio::ALBufferObject Class Reference

Internal OpenAL buffer object abstraction layer. More...

#include <spOpenALBufferObject.hpp>

List of all members.

Public Member Functions

 ALBufferObject ()
 ~ALBufferObject ()
bool updateBuffer (const io::stringc &Filename, ALenum Format, const void *Buffer, ALsizei Size, ALsizei Frequency)
void grab ()
 Increments the reference counter.
bool drop ()
 Decrements the reference counter and returns true if the reference counter is 0.
ALuint getID () const
 Returns the OpenAL buffer object ID.
SWaveFormatFlags getFormatFlags () const
 Returns the format flags.
io::stringc getFilename () const

Detailed Description

Internal OpenAL buffer object abstraction layer.


Constructor & Destructor Documentation

sp::audio::ALBufferObject::ALBufferObject (  ) 
sp::audio::ALBufferObject::~ALBufferObject (  ) 

Member Function Documentation

bool sp::audio::ALBufferObject::drop (  ) 

Decrements the reference counter and returns true if the reference counter is 0.

io::stringc sp::audio::ALBufferObject::getFilename (  )  const [inline]
SWaveFormatFlags sp::audio::ALBufferObject::getFormatFlags (  )  const [inline]

Returns the format flags.

ALuint sp::audio::ALBufferObject::getID (  )  const [inline]

Returns the OpenAL buffer object ID.

void sp::audio::ALBufferObject::grab (  ) 

Increments the reference counter.

bool sp::audio::ALBufferObject::updateBuffer ( const io::stringc Filename,
ALenum  Format,
const void *  Buffer,
ALsizei  Size,
ALsizei  Frequency 
)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines