diff options
author | Nebuleon Fumika | 2013-01-11 18:58:07 -0500 |
---|---|---|
committer | Nebuleon Fumika | 2013-01-11 19:22:59 -0500 |
commit | 7896e83aa9a3da428d3a56423a5c613782d1ac18 (patch) | |
tree | c56b9edbb67888950c76644ac0c2a5431228a62a /source/snes9x.h | |
parent | 0028091d0f98f92a709dd2caa951e61ae28e5e34 (diff) | |
download | snes9x2005-7896e83aa9a3da428d3a56423a5c613782d1ac18.tar.gz snes9x2005-7896e83aa9a3da428d3a56423a5c613782d1ac18.tar.bz2 snes9x2005-7896e83aa9a3da428d3a56423a5c613782d1ac18.zip |
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.
Diffstat (limited to 'source/snes9x.h')
-rw-r--r-- | source/snes9x.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/snes9x.h b/source/snes9x.h index e9e29b8..ebcf5e3 100644 --- a/source/snes9x.h +++ b/source/snes9x.h @@ -328,9 +328,13 @@ struct SSettings{ /* Sound options */ uint32 SoundPlaybackRate; bool8 TraceSoundDSP; +#ifndef FOREVER_STEREO bool8 Stereo; +#endif bool8 ReverseStereo; +#ifndef FOREVER_16_BIT_SOUND bool8 SixteenBitSound; +#endif int SoundBufferSize; int SoundMixInterval; bool8 SoundEnvelopeHeightReading; |