Skip to content

Commit

Permalink
Fixing test_opus_api
Browse files Browse the repository at this point in the history
  • Loading branch information
jmvalin committed Jan 24, 2025
1 parent 9284062 commit 34dcc27
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions tests/test_opus_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,11 @@ opus_int32 test_dec_api(void)
for(i=-7;i<=96000;i++)
{
int fs;
if((i==8000||i==12000||i==16000||i==24000||i==48000)&&(c==1||c==2))continue;
if((i==8000||i==12000||i==16000||i==24000||i==48000
#ifdef ENABLE_QEXT
||i==96000
#endif
)&&(c==1||c==2))continue;
switch(i)
{
case(-5):fs=-8000;break;
Expand Down Expand Up @@ -379,7 +383,11 @@ opus_int32 test_msdec_api(void)
for(i=-7;i<=96000;i++)
{
int fs;
if((i==8000||i==12000||i==16000||i==24000||i==48000)&&(c==1||c==2))continue;
if((i==8000||i==12000||i==16000||i==24000||i==48000
#ifdef ENABLE_QEXT
||i==96000
#endif
)&&(c==1||c==2))continue;
switch(i)
{
case(-5):fs=-8000;break;
Expand Down

0 comments on commit 34dcc27

Please sign in to comment.