/[enigma]/enigma/src/sound.hh
ViewVC logotype

Diff of /enigma/src/sound.hh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by dheck, Thu Jan 9 18:31:25 2003 UTC revision 1.3 by dheck, Thu Jan 23 22:34:19 2003 UTC
# Line 20  Line 20 
20  #ifndef SOUND_HH  #ifndef SOUND_HH
21  #define SOUND_HH  #define SOUND_HH
22    
23    #include "SDL_mixer.h"
24  #include "px/math.hh"  #include "px/math.hh"
25    
26  namespace sound  namespace sound
# Line 39  namespace sound Line 40  namespace sound
40      void FadeoutMusic();      void FadeoutMusic();
41      void StopMusic();      void StopMusic();
42    
43        /* This function converts raw audio data with a specified format
44           to the mixer's audio format.  This is used for converting the
45           original Oxyd sounds to a format usable by Enigma. */
46        Mix_Chunk *ChunkFromRaw (const Uint8 *buf, Uint32 len,
47                                 int freq, int format, int channels);
48    
49    
50      /* Set the sound and music volume according to the settings in      /* Set the sound and music volume according to the settings in
51         namespace options:: */         namespace options:: */
52      void UpdateVolume();      void UpdateVolume();

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26