mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 07:04:17 +00:00
Another round of tweaks for spandsp. There should be no functional changes,
although quite a few things have changed in the test suite
This commit is contained in:
1 parent
d30e82e226
commit
4a7bbf4ec6
77 files changed
+966
-357
No files matched your search
@@ -293,7 +293,7 @@ static int decode_test_data_file(int mode, const char *filename)
|
||||
break;
|
||||
v18_rx(v18_state, amp, len);
|
||||
}
|
||||
if (sf_close(inhandle) != 0)
|
||||
if (sf_close_telephony(inhandle))
|
||||
{
|
||||
fprintf(stderr, " Cannot close audio file '%s'\n", decode_test_file);
|
||||
exit(2);
|
||||
@@ -493,7 +493,7 @@ int main(int argc, char *argv[])
|
||||
basic_tests(V18_MODE_5BIT_45);
|
||||
if (log_audio)
|
||||
{
|
||||
if (sf_close(outhandle) != 0)
|
||||
if (sf_close_telephony(outhandle))
|
||||
{
|
||||
fprintf(stderr, " Cannot close audio file '%s'\n", OUTPUT_FILE_NAME);
|
||||
exit(2);
|
||||
|
||||
Reference in new issue
Block a user