Improved frozen behavior.
[supertux.git] / src / sound.h
index b6640a6..d38b1ff 100644 (file)
 
 #include "defines.h"     /* get YES/NO defines */
 
-/* used to reserve some channels for panning effects */
-#define SOUND_RESERVED_CHANNELS 2
-
 /*global variable*/
 extern bool use_sound;           /* handle sound on/off menu and command-line option */
-extern bool use_music;           /* handle music on/off menu and command-line option */
+extern bool use_music;           /* handle music on/off menu and command-line */
 extern bool audio_device;        /* != 0: available and initialized */
 
 /* enum of different internal music types */
@@ -39,11 +36,11 @@ enum Music_Type {
   HERRING_MUSIC
 };
 
-
 /* panning effects: terrible :-) ! */
 enum Sound_Speaker {
   SOUND_LEFT_SPEAKER = 0,
   SOUND_RIGHT_SPEAKER = 1,
+  SOUND_RESERVED_CHANNELS = 2, // 2 channels reserved for left/right speaker
   SOUND_CENTER_SPEAKER = -1
 };