diff options
author | Chris Robinson <[email protected]> | 2023-02-14 00:00:46 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-02-14 02:32:07 -0800 |
commit | d0c28c652f10856f3f1eadbbe8f362be6224355d (patch) | |
tree | 93fc754d14acb8f89f595e62a1672e3be1a05354 /alc/effects | |
parent | c10df8ab545320e636404a8ed5f81b2c08c565b3 (diff) |
Support IMA4 ADPCM as a mixing voice format
Diffstat (limited to 'alc/effects')
-rw-r--r-- | alc/effects/convolution.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 } |