summaryrefslogtreecommitdiff
path: root/src/audio/sampman.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio/sampman.h')
-rw-r--r--src/audio/sampman.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/audio/sampman.h b/src/audio/sampman.h
index dc95622b..2c64fdef 100644
--- a/src/audio/sampman.h
+++ b/src/audio/sampman.h
@@ -100,9 +100,15 @@ enum
#define MAXPROVIDERS 64
+#ifdef EXTERNAL_3D_SOUND
#define MAXCHANNELS (NUM_CHANNELS_GENERIC+1)
#define MAXCHANNELS_SURROUND (MAXCHANNELS-4)
#define MAX2DCHANNELS 1
+#else
+#define MAXCHANNELS 0
+#define MAXCHANNELS_SURROUND 0
+#define MAX2DCHANNELS NUM_CHANNELS
+#endif
#define MAX_STREAMS 2