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

sound.cpp File Reference

#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <math.h>
#include <string.h>
#include <ctype.h>
#include <adsofile.h>
#include <adsomath.h>
#include <adsoio.h>
#include "sound.h"
#include "rover.h"
#include "scene.h"
#include "photon.h"
#include "config.h"
#include "gamectrl.h"

Functions

WaveDatareadWav (FILE *file, int maxDataSize)
WaveDatareadRaw (FILE *file, char *filename)
int isWavFile (FILE *file)
short getSample (int pos, WaveData *wave)
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
short slast
double frq = 1.0
int fc = 0

Function Documentation

short getSample int  pos,
WaveData wave
[inline]
 


Variable Documentation

int fc = 0
 

double frq = 1.0
 

short slast
 


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