X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsound.h;h=d38b1ff5ae202cbd5bcb2d0e97540b02456fdde5;hb=157cef71aeb9ae25b7bb90f37dda11bc09329d11;hp=0f75d60083ce74701971c2b1be6406759610614e;hpb=efb7eb0f84938633537f38fa1e76441181fad41e;p=supertux.git diff --git a/src/sound.h b/src/sound.h index 0f75d6008..d38b1ff5a 100644 --- a/src/sound.h +++ b/src/sound.h @@ -23,9 +23,6 @@ #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 */ @@ -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 };