OSDL::Audio::SoundException Class Reference

Exceptions raised by Sound instances. More...

#include <OSDLSound.h>

Inheritance diagram for OSDL::Audio::SoundException:
Inheritance graph
[legend]
Collaboration diagram for OSDL::Audio::SoundException:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SoundException (const std::string &reason)
 Implementation notes:
virtual ~SoundException () throw ()

Detailed Description

Exceptions raised by Sound instances.

Definition at line 107 of file OSDLSound.h.


Constructor & Destructor Documentation

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.

See also:
Mix_LoadWAV_RW

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.


The documentation for this class was generated from the following files:
Generated on Mon Nov 29 14:05:31 2010 for OSDL by  doxygen 1.6.3