From 660a33fe965ffb4798cc35e26c2825b3fbff1440 Mon Sep 17 00:00:00 2001 From: OBattler Date: Fri, 3 May 2024 19:42:58 +0200 Subject: [PATCH] OpenAL: Fix the buffers' numeric ID's. --- src/sound/openal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sound/openal.c b/src/sound/openal.c index 83bb312ba..a41199b23 100644 --- a/src/sound/openal.c +++ b/src/sound/openal.c @@ -307,17 +307,17 @@ givealbuffer_music(const void *buf) void givealbuffer_wt(const void *buf) { - givealbuffer_common(buf, 1, WTBUFLEN << 1, WT_FREQ); + givealbuffer_common(buf, 2, WTBUFLEN << 1, WT_FREQ); } void givealbuffer_cd(const void *buf) { - givealbuffer_common(buf, 2, CD_BUFLEN << 1, CD_FREQ); + givealbuffer_common(buf, 3, CD_BUFLEN << 1, CD_FREQ); } void givealbuffer_midi(const void *buf, const uint32_t size) { - givealbuffer_common(buf, 3, (int) size, midi_freq); + givealbuffer_common(buf, 4, (int) size, midi_freq); }