Devilution
Diablo devolved - magic behind the 1996 computer game
Functions | Variables
sound.h File Reference

Go to the source code of this file.

Functions

void snd_update (BOOL bStopAll)
 
void snd_stop_snd (TSnd *pSnd)
 
BOOL snd_playing (TSnd *pSnd)
 
void snd_play_snd (TSnd *pSnd, int lVolume, int lPan)
 
SoundSample * sound_dup_channel (SoundSample *DSB)
 
BOOL sound_file_reload (TSnd *sound_file, SoundSample *DSB)
 
TSndsound_file_load (char *path)
 
void sound_CreateSoundBuffer (TSnd *sound_file)
 
void sound_file_cleanup (TSnd *sound_file)
 
void snd_init (HWND hWnd)
 
void snd_get_volume (char *value_name, int *value)
 
void sound_create_primary_buffer (HANDLE music_track)
 
void sound_cleanup ()
 
void snd_set_volume (char *key, int value)
 
void music_stop ()
 
void music_start (int nTrack)
 
void sound_disable_music (BOOL disable)
 
int sound_get_or_set_music_volume (int volume)
 
int sound_get_or_set_sound_volume (int volume)
 

Variables

SoundSample * DSBs [8]
 
BOOLEAN gbSndInited
 
HMODULE hDsound_dll
 
BOOLEAN gbMusicOn
 
BOOLEAN gbSoundOn
 
BOOLEAN gbDupSounds
 
char unk_volume [4][2]