AX: Fix linear filter (#1802)
Some checks failed
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled

The else code would be unreachable.
This commit is contained in:
rcaridade145 2026-02-02 16:16:46 +00:00 committed by GitHub
parent ba82dc57d6
commit 5bc60b9452
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -596,7 +596,7 @@ namespace snd_core
uint32 srcFilterMode = _swapEndianU16(internalShadowCopy->srcFilterMode);
uint16 format = _swapEndianU16(internalShadowCopy->internalOffsets.format);
if (srcFilterMode == AX_FILTER_MODE_LINEAR || srcFilterMode == AX_FILTER_MODE_TAP)
if (srcFilterMode == AX_FILTER_MODE_TAP)
{
if (format == AX_FORMAT_ADPCM)
AX_DecodeSamplesADPCM_Tap(internalShadowCopy, output, sampleCount);