aboutsummaryrefslogtreecommitdiff
path: root/source/soundux.c
diff options
context:
space:
mode:
authoraliaspider2014-11-02 09:58:16 +0100
committeraliaspider2014-11-02 09:58:16 +0100
commitccf335d7dcfce22c8a1364390f4d4574df30506b (patch)
tree504acba5396e3a6bb11f80bbb4169fb45d469a45 /source/soundux.c
parent72624fa54282899e50f1ea0febfafc8f1fdde441 (diff)
downloadsnes9x2005-ccf335d7dcfce22c8a1364390f4d4574df30506b.tar.gz
snes9x2005-ccf335d7dcfce22c8a1364390f4d4574df30506b.tar.bz2
snes9x2005-ccf335d7dcfce22c8a1364390f4d4574df30506b.zip
remove some sound hacks
Diffstat (limited to 'source/soundux.c')
-rw-r--r--source/soundux.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/soundux.c b/source/soundux.c
index d991c04..779cfc4 100644
--- a/source/soundux.c
+++ b/source/soundux.c
@@ -475,11 +475,6 @@ void S9xSetSoundFrequency(int channel, int hertz)
hertz = NoiseFreq [APU.DSP [APU_FLG] & 0x1f];
SoundData.channels[channel].frequency = (int)
(((int64) hertz * FIXED_POINT) / so.playback_rate);
- if (Settings.FixFrequency)
- {
- SoundData.channels[channel].frequency =
- (unsigned long)(SoundData.channels[channel].frequency * 49 / 50);
- }
}
}
@@ -800,9 +795,6 @@ static inline void MixStereo(int sample_count)
int32 VL, VR;
unsigned long freq0 = ch->frequency;
- // freq0 = (unsigned long) ((double) freq0 * 0.985);//uncommented by jonathan gevaryahu, as it is necessary for most cards in linux
- freq0 = freq0 * 985 / 1000;
-
bool8 mod = pitch_mod & (1 << J);
if (ch->needs_decode)