Skip to content
Snippets Groups Projects
Commit 96748cf3 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Allowing frames up to 512 samples

parent c6ca4992
No related branches found
No related tags found
No related merge requests found
......@@ -328,9 +328,9 @@ CELTMode EXPORT *celt_mode_create(celt_int32_t Fs, int channels, int frame_size,
*error = CELT_BAD_ARG;
return NULL;
}
if (frame_size < 64 || frame_size > 256 || frame_size%2!=0)
if (frame_size < 64 || frame_size > 512 || frame_size%2!=0)
{
celt_warning("Only even frame sizes between 64 and 256 are supported");
celt_warning("Only even frame sizes between 64 and 512 are supported");
if (error)
*error = CELT_BAD_ARG;
return NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment