summary refs log tree commit diff stats
path: root/src/mixer.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2021-03-13 11:43:29 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2021-03-13 15:34:50 -0500
commitc6b5e936ff9869d8a3de9ea41db784a4cb46a818 (patch)
tree37168fc870be1cae9ae12771b0e6156437bb3c98 /src/mixer.h
parent10c92d7f54759d9356ac948f6d019a82e40e3f4d (diff)
downloadtanetane-c6b5e936ff9869d8a3de9ea41db784a4cb46a818.tar.gz
tanetane-c6b5e936ff9869d8a3de9ea41db784a4cb46a818.tar.bz2
tanetane-c6b5e936ff9869d8a3de9ea41db784a4cb46a818.zip
Sound effects are paused on the pause menu
#7
Diffstat (limited to 'src/mixer.h')
-rw-r--r--src/mixer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mixer.h b/src/mixer.h index b049118..854c67d 100644 --- a/src/mixer.h +++ b/src/mixer.h
@@ -72,6 +72,10 @@ public:
72 72
73 void stopChannel(int channel); 73 void stopChannel(int channel);
74 74
75 void pauseSounds();
76
77 void unpauseSounds();
78
75 // name is the name of the file, not containing the extension 79 // name is the name of the file, not containing the extension
76 // ms is the time in milliseconds to fade in 80 // ms is the time in milliseconds to fade in
77 void playMusic(std::string_view name, int ms = 0); 81 void playMusic(std::string_view name, int ms = 0);