diff options
Diffstat (limited to 'backends/gp32/gp32std_sound.cpp')
-rw-r--r-- | backends/gp32/gp32std_sound.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/gp32/gp32std_sound.cpp b/backends/gp32/gp32std_sound.cpp index a843f732e2..711a101fc8 100644 --- a/backends/gp32/gp32std_sound.cpp +++ b/backends/gp32/gp32std_sound.cpp @@ -153,8 +153,8 @@ int gp_soundBufStart(GPSOUNDBUF *sb) { tmpBuf[i] = 0x8000; // Frequency of the timer interrupt which polls the playing position - //soundBuf.pollfreq = 4 * (2 * soundBuf.freq) / soundBuf.samples; - soundBuf.pollfreq = (2 * soundBuf.freq) / soundBuf.samples; + // FIXME: This frequency should not be multiplied by 4. + soundBuf.pollfreq = 4 * (2 * soundBuf.freq) / soundBuf.samples; // Set timer interrupt if (GpTimerOptSet(GP32_TIMER_AUDIO_IDX, soundBuf.pollfreq, 0, soundTimer) == GPOS_ERR_ALREADY_USED) { |