From eb968014d99d7cd9d923c8d2185807f3de05f354 Mon Sep 17 00:00:00 2001 From: OBattler Date: Fri, 3 May 2024 19:41:45 +0200 Subject: [PATCH] OpenAL implementation of givealbuffer_wt(). --- src/sound/openal.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/sound/openal.c b/src/sound/openal.c index f1ca74182..83bb312ba 100644 --- a/src/sound/openal.c +++ b/src/sound/openal.c @@ -304,6 +304,12 @@ givealbuffer_music(const void *buf) givealbuffer_common(buf, 1, MUSICBUFLEN << 1, MUSIC_FREQ); } +void +givealbuffer_wt(const void *buf) +{ + givealbuffer_common(buf, 1, WTBUFLEN << 1, WT_FREQ); +} + void givealbuffer_cd(const void *buf) {