|
Fireset
|
Represents a loaded sound buffer. More...
#include <audio.h>
Public Attributes | |
| int | channels |
| int | sampleRate |
| int | bps |
| long | frames |
| short * | samples |
| ALenum | format |
| ALuint | buffer |
Represents a loaded sound buffer.
Contains audio data and OpenAL buffer information.
| int FsSound::bps |
Bits per sample (usually 16)
| ALuint FsSound::buffer |
OpenAL buffer handle
| int FsSound::channels |
Number of channels (1 = mono, 2 = stereo)
| ALenum FsSound::format |
OpenAL format (AL_FORMAT_MONO16 or AL_FORMAT_STEREO16)
| long FsSound::frames |
Total number of frames
| int FsSound::sampleRate |
Sample rate in Hz
| short* FsSound::samples |
Raw PCM samples