From 7896e83aa9a3da428d3a56423a5c613782d1ac18 Mon Sep 17 00:00:00 2001 From: Nebuleon Fumika Date: Fri, 11 Jan 2013 18:58:07 -0500 Subject: Stop constantly testing for 16-bit and stereo in sound handlers. Define FOREVER_16_BIT_SOUND and FOREVER_STEREO and use them throughout the code. This is essentially commit 6b36e79013d4c9273a96a9783a2bccdb516f174a, but for sound instead of graphics. --- source/soundux.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/soundux.h') diff --git a/source/soundux.h b/source/soundux.h index 9892dcf..fe96f73 100644 --- a/source/soundux.h +++ b/source/soundux.h @@ -124,8 +124,12 @@ typedef struct { int buffer_size; int noise_gen; bool8 mute_sound; +#ifndef FOREVER_STEREO int stereo; +#endif +#ifndef FOREVER_16_BIT_SOUND bool8 sixteen_bit; +#endif bool8 encoded; #ifdef __sun int last_eof; -- cgit v1.2.3