Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <Format.h>
Public Member Functions | |
Format () | |
Format (unsigned int freq, unsigned char bps, unsigned char nch) | |
unsigned int | frameSize () const |
unsigned int | bytesPerSecond () const |
bool | operator== (const Format &o) const |
bool | operator!= (const Format &o) const |
Public Attributes | |
unsigned int | sampleFrequency |
unsigned char | bitsPerSample |
unsigned char | channels |
int | signedSamples: 1 |
int | nativeOrder: 1 |
|
inline |
|
inline |
Definition at line 36 of file Format.h.
References frameSize(), and sampleFrequency.
|
inline |
Definition at line 31 of file Format.h.
References bitsPerSample, and channels.
Referenced by bytesPerSecond(), Audio::SoundBuffer::getSampleCapacity(), and Audio::SoundBuffer::getSampleCount().
Definition at line 41 of file Format.h.
References bitsPerSample, channels, nativeOrder, sampleFrequency, and signedSamples.
unsigned char Audio::Format::bitsPerSample |
Definition at line 15 of file Format.h.
Referenced by frameSize(), Audio::OpenALSimpleSound::loadImpl(), and operator==().
unsigned char Audio::Format::channels |
Definition at line 16 of file Format.h.
Referenced by frameSize(), and operator==().
int Audio::Format::nativeOrder |
Definition at line 18 of file Format.h.
Referenced by Audio::OpenALSimpleSound::loadImpl(), and operator==().
unsigned int Audio::Format::sampleFrequency |
Definition at line 14 of file Format.h.
Referenced by bytesPerSecond(), Audio::OpenALSimpleSound::loadImpl(), and operator==().
int Audio::Format::signedSamples |
Definition at line 17 of file Format.h.
Referenced by Audio::OpenALSimpleSound::loadImpl(), and operator==().