From b5551dc685d69ef82e581c5ff08454737372175c Mon Sep 17 00:00:00 2001 From: Joel de Vahl Date: Sat, 21 Jul 2007 17:03:27 +0000 Subject: Volume control backend. --- src/engine/interface.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/engine/interface.h') diff --git a/src/engine/interface.h b/src/engine/interface.h index 311297de..d23067fb 100644 --- a/src/engine/interface.h +++ b/src/engine/interface.h @@ -319,6 +319,8 @@ enum }; bool snd_init(); +float snd_get_master_volume(); +void snd_set_master_volume(float val); int snd_load_wav(const char *filename); int snd_play(int sound, int loop = SND_PLAY_ONCE, float vol = 1.0f, float pan = 0.0f); void snd_stop(int id); -- cgit 1.4.1