Exceptions raised by Sound instances. More...
#include <OSDLSound.h>
Public Member Functions | |
SoundException (const std::string &reason) | |
Implementation notes: | |
virtual | ~SoundException () throw () |
Exceptions raised by Sound instances.
Definition at line 107 of file OSDLSound.h.
SoundException::SoundException | ( | const std::string & | reason | ) |
Implementation notes:
Before, when SDL_mixer was to operate on filenames rather than directly on SDL_rwops, on all PC-like platforms (including Windows and most UNIX), the supported formats were WAVE, AIFF, RIFF, OGG, and VOC. WAVE and, to a lesser extent, OGG, were recommended for sounds.
Now, we want to be able to read sounds from opaque archives (using EmbeddedFile instances, thus PhysicsFS), and SDL_mixer just allows the OGG (OggVorbis), WAV, OGG, MP3, MOD or MIDI file formats to be used with the underlying SDL_rwops.
Thus, WAVE and, to a lesser extent, OGG, are still recommended for sounds, on the PC.
Neither channel grouping nor effects used, as no need felt.
On the Nintendo DS, only one format is supported, the .osdl.sound format.
Definition at line 113 of file OSDLSound.cc.
SoundException::~SoundException | ( | ) | throw () [virtual] |
Definition at line 121 of file OSDLSound.cc.