mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +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:
@@ -166,7 +166,7 @@ static void signal_load(signal_source_t *sig, const char *name)
|
||||
|
||||
static void signal_free(signal_source_t *sig)
|
||||
{
|
||||
if (sf_close(sig->handle) != 0)
|
||||
if (sf_close_telephony(sig->handle))
|
||||
{
|
||||
fprintf(stderr, " Cannot close sound file '%s'\n", sig->name);
|
||||
exit(2);
|
||||
@@ -386,7 +386,7 @@ int main(int argc, char *argv[])
|
||||
modem_echo_can_free(ctx);
|
||||
signal_free(&local_css);
|
||||
|
||||
if (sf_close(resulthandle) != 0)
|
||||
if (sf_close_telephony(resulthandle))
|
||||
{
|
||||
fprintf(stderr, " Cannot close speech file '%s'\n", "result_sound.wav");
|
||||
exit(2);
|
||||
|
||||
Reference in New Issue
Block a user