|
|
uint32 | get (void) const |
| | Obtain buffer data.
|
| |
| uint32 | getDuration (void) const |
| |
|
bool | load (const std::string &filename) |
| |
|
|
void | attach (Sound *sound) const |
| | Internally used for attaching a sound to our list.
|
| |
|
void | detach (Sound *sound) const |
| | Internally used for detaching a sound from our list.
|
| |
|
|
std::set< Sound * > | sounds |
| | Internal list of sounds loaded onto a buffer object.
|
| |
|
uint32 | buffer |
| | Used internally by OpenAL for identification of audio buffer.
|
| |
|
std::vector< int16 > | samples |
| | We load our audio data into this buffer.
|
| |
| uint32 | buffer_duration |
| |
Definition at line 47 of file SoundBuffer.hpp.
| uint32 nom::OpenAL::SoundBuffer::getDuration |
( |
void |
| ) |
const |
Obtain buffer duration in milliseconds
Default: zero (0)
Definition at line 63 of file SoundBuffer.cpp.
| uint32 nom::OpenAL::SoundBuffer::buffer_duration |
|
private |
Duration of sound buffer
Default: zero (0)
Definition at line 88 of file SoundBuffer.hpp.
The documentation for this class was generated from the following files: