Main Page | Modules | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members

sound.h File Reference

#include <SDL/SDL.h>
#include <vorbis/codec.h>
#include <vorbis/vorbisfile.h>
#include <adsomath.h>

Go to the source code of this file.

Compounds

class  AudioServer
struct  ChunkHeader
struct  Dobbler
struct  FileChunk
struct  FormatChunk
struct  OggPage
class  SaStream
class  Sound
class  SoundArchive
struct  SoundArchiveEntry
class  SoundOgg
struct  SoundOggMemFile
struct  SoundOggSong
struct  SoundOggTrack
class  SoundSynth
class  SoundWave
class  StereoSample
struct  WaveData

Defines

#define MAX_AUDIO_CHANNELS   64
#define SOUND_PROCESS_NUM   2
#define SOUND_PHOTON_NUM   3
#define SOUNDWAVE_MAX_WAVES   4
#define FormatID   'fmt '
#define DataID   'data'
#define checkID(a, b)   (a[0]==b[0] && a[1]==b[1] && a[2]==b[2] && a[3]==b[3])
#define SOUNDSYNTH_BELL   0
#define SOUNDSYNTH_ENGINE   1
#define SOUNDSYNTH_BEEP   2

Typedefs

typedef char ChunkID [4]

Functions

WaveDatareadWav (FILE *file, int maxDataSize)
WaveDatareadRaw (FILE *file, char *filename)
int isWavFile (FILE *file)
void fillAudio (void *udata, Uint8 *stream, int len)
void initSound ()

Variables

AudioServer audio
SoundArchive soundArchive
SoundSynth soundBell
SoundWave soundProcess [SOUND_PROCESS_NUM]
SoundWave soundOppScore
SoundWave soundLogon
SoundWave soundCallRescue
SoundWave soundRescue
SoundWave soundRescueDeny
SoundWave soundTurboOn
SoundWave soundTurboOff
SoundWave soundKey
SoundWave soundDeadKey
SoundWave soundEpsilonSucces
SoundWave soundScreenPrint
SoundWave soundNetLink
SoundWave soundChatPrint
SoundWave soundUfo
SoundWave soundUfoBeam
SoundWave soundUfoHit
SoundWave soundPhoton [SOUND_PHOTON_NUM]
SoundOgg soundMusic
SoundOggSong themePrelude
SoundOggSong themeBriefing
SoundOggSong themeMissionPart1
SoundOggSong themeMissionPart2
SoundOggSong themeSuccess


Generated on Mon Jul 21 10:44:47 2003 for Rover by doxygen 1.3.2