Re-ordered the parameters in the stream: [energy, pitch index, pitch gains]
Also fixed a bug that was exposed by the change (and removed some warnings)
This commit is contained in:
parent
6c1f604944
commit
cb7a2a3d52
9 changed files with 18 additions and 16 deletions
|
@ -160,6 +160,9 @@ int celt_mode_info(const CELTMode *mode, int request, celt_int32_t *value)
|
|||
case CELT_GET_NB_CHANNELS:
|
||||
*value = mode->nbChannels;
|
||||
break;
|
||||
default:
|
||||
return CELT_BAD_ARG;
|
||||
}
|
||||
return CELT_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue