mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
tests/misc_test.c : Only run Ogg test if HAVE_EXTERNAL_LIBS is true.
This commit is contained in:
parent
65689d4169
commit
1476a4bc5a
@ -215,6 +215,15 @@ zero_data_test (const char *filename, int format)
|
||||
SF_INFO sfinfo ;
|
||||
int frames ;
|
||||
|
||||
switch (format & SF_FORMAT_TYPEMASK)
|
||||
{ case SF_FORMAT_OGG :
|
||||
if (HAVE_EXTERNAL_LIBS == 0)
|
||||
return ;
|
||||
break ;
|
||||
default :
|
||||
break ;
|
||||
} ;
|
||||
|
||||
print_test_name ("zero_data_test", filename) ;
|
||||
|
||||
sfinfo.samplerate = 44100 ;
|
||||
|
Loading…
Reference in New Issue
Block a user