mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-29 16:03:01 +00:00
speed up IMA ADPCM sample encoding
This commit is contained in:
parent
04175e82d7
commit
42583f7341
1 changed files with 1 additions and 1 deletions
|
@ -1468,7 +1468,7 @@ void DivSample::render(unsigned int formatMask) {
|
||||||
delta[0]=0;
|
delta[0]=0;
|
||||||
delta[1]=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) {
|
if (codec==NULL) {
|
||||||
logE("oh no IMA encoder could not be created!");
|
logE("oh no IMA encoder could not be created!");
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue