#include <OpenALDecoder.h>
Public Types | |
enum | Format { Mp3 = 0, Vorbis, Wav, Raw, Flac, Midi, Aac } |
Public Member Functions | |
virtual | ~OpenALDecoder () |
virtual bool | decode (OpenALFile &file, ALuint &result)=0 |
Returns true if such format is supported and decoding was successful. More... | |
virtual bool | acceptsFormat (Format format) const =0 |
Static Public Member Functions | |
static const std::vector < OpenALDecoder * > & | getDecoders () |
static void | installDecoders () |
Protected Member Functions | |
bool | initALBuffer (ALuint &result, ALenum format, const ALvoid *data, ALsizei size, ALsizei freq) |
Static Protected Member Functions | |
static void | addDecoder (OpenALDecoder *decoder) |
Static Protected Attributes | |
static std::vector < OpenALDecoder * > | _decoders |
enum Format |
|
inlinevirtual |
|
pure virtual |
|
staticprotected |
|
pure virtual |
Returns true if such format is supported and decoding was successful.
|
static |
|
protected |
|
static |
|
staticprotected |