speed up IMA ADPCM sample encoding

This commit is contained in:
tildearrow 2024-03-20 17:47:31 -05:00
parent 04175e82d7
commit 42583f7341

View file

@ -1468,7 +1468,7 @@ void DivSample::render(unsigned int formatMask) {
delta[0]=0;
delta[1]=0;
void* codec=adpcm_create_context(1,4,NOISE_SHAPING_OFF,delta);
void* codec=adpcm_create_context(1,1,NOISE_SHAPING_OFF,delta);
if (codec==NULL) {
logE("oh no IMA encoder could not be created!");
} else {