GBA Audio: Remove sample rate adjustment code
Jeffrey Pfau jeffrey@endrift.com
Wed, 31 Dec 2014 01:00:18 -0800
1 files changed,
0 insertions(+),
7 deletions(-)
jump to
M
src/gba/gba-audio.c
→
src/gba/gba-audio.c
@@ -452,13 +452,6 @@ }
void GBAAudioWriteSOUNDBIAS(struct GBAAudio* audio, uint16_t value) { audio->soundbias = value; -#if RESAMPLE_LIBRARY == RESAMPLE_BLIP_BUF - unsigned newSampleRate = 0x8000 << GBARegisterSOUNDBIASGetResolution(audio->soundbias); - if (audio->sampleRate != newSampleRate) { - audio->sampleRate = newSampleRate; - audio->sampleInterval = GBA_ARM7TDMI_FREQUENCY / audio->sampleRate; - } -#endif } void GBAAudioWriteWaveRAM(struct GBAAudio* audio, int address, uint32_t value) {