aboutsummaryrefslogtreecommitdiff
path: root/backends/gp32
diff options
context:
space:
mode:
Diffstat (limited to 'backends/gp32')
-rw-r--r--backends/gp32/gp32std_sound.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/gp32/gp32std_sound.cpp b/backends/gp32/gp32std_sound.cpp
index eda74e4d75..a843f732e2 100644
--- a/backends/gp32/gp32std_sound.cpp
+++ b/backends/gp32/gp32std_sound.cpp
@@ -153,7 +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 = 4 * (2 * soundBuf.freq) / soundBuf.samples;
+ soundBuf.pollfreq = (2 * soundBuf.freq) / soundBuf.samples;
// Set timer interrupt
if (GpTimerOptSet(GP32_TIMER_AUDIO_IDX, soundBuf.pollfreq, 0, soundTimer) == GPOS_ERR_ALREADY_USED) {