From d0c28c652f10856f3f1eadbbe8f362be6224355d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 14 Feb 2023 00:00:46 -0800 Subject: Support IMA4 ADPCM as a mixing voice format --- alc/effects/convolution.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'alc') diff --git a/alc/effects/convolution.cpp b/alc/effects/convolution.cpp index e88fb0d0..1c5c3691 100644 --- a/alc/effects/convolution.cpp +++ b/alc/effects/convolution.cpp @@ -84,6 +84,10 @@ void LoadSamples(float *RESTRICT dst, const al::byte *src, const size_t srcstep, HANDLE_FMT(FmtDouble); HANDLE_FMT(FmtMulaw); HANDLE_FMT(FmtAlaw); + /* FIXME: Handle ADPCM decoding here. */ + case FmtIMA4: + std::fill_n(dst, samples, 0.0f); + break; } #undef HANDLE_FMT } -- cgit v1.2.3