fixed a few trivial bugs: exporting celt_strerror(), changed DB_SCALING to a
shift and removed the chec for DISABLE_STEREO in the mode creation.
This commit is contained in:
parent
234969c903
commit
328b8bd7fc
4 changed files with 4 additions and 18 deletions
|
@ -375,16 +375,6 @@ CELTMode *celt_mode_create(celt_int32 Fs, int frame_size, int *error)
|
|||
|
||||
#endif /* !STATIC_MODES */
|
||||
|
||||
#ifdef DISABLE_STEREO
|
||||
if (channels > 1)
|
||||
{
|
||||
celt_warning("Stereo support was disable from this build");
|
||||
if (error)
|
||||
*error = CELT_BAD_ARG;
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
mdct_init(&mode->mdct, 2*mode->mdctSize);
|
||||
mode->fft = pitch_state_alloc(MAX_PERIOD);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue