aboutsummaryrefslogtreecommitdiff
path: root/src/sdl/audio.h
diff options
context:
space:
mode:
authorptitSeb2017-12-16 14:38:00 +0100
committerptitSeb2017-12-16 14:38:00 +0100
commitddd76d59cc4958abb5c42090046bf6781cf75096 (patch)
tree796082296283a5aaec052469bc7d4360184c50ce /src/sdl/audio.h
parent3638a171bda48dc9a8d264f68dd04a187a433aa6 (diff)
downloadhydracastlelabyrinth-ddd76d59cc4958abb5c42090046bf6781cf75096.tar.gz
hydracastlelabyrinth-ddd76d59cc4958abb5c42090046bf6781cf75096.tar.bz2
hydracastlelabyrinth-ddd76d59cc4958abb5c42090046bf6781cf75096.zip
Added Music Volume option
Diffstat (limited to 'src/sdl/audio.h')
-rw-r--r--src/sdl/audio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sdl/audio.h b/src/sdl/audio.h
index 2cf30d3..b21cad1 100644
--- a/src/sdl/audio.h
+++ b/src/sdl/audio.h
@@ -12,9 +12,13 @@ typedef struct
} PHL_Music;
+extern int music_volume;
+
void PHL_AudioInit();
void PHL_AudioClose();
+void PHL_MusicVolume(float vol);
+
PHL_Music PHL_LoadMusic(char* fname, int loop); //Same as PHL_LoadSound, but expects a file name without extension
PHL_Sound PHL_LoadSound(char* fname);