mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-31 15:44:21 +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
@@ -62,7 +62,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
printf("Test with swept tone.\n");
|
||||
s = swept_tone_init(NULL, 200.0f, 3900.0f, -10.0f, 60*SAMPLE_RATE, 1);
|
||||
s = swept_tone_init(NULL, 200.0f, 3900.0f, -10.0f, 60*SAMPLE_RATE, TRUE);
|
||||
for (j = 0; j < 60*SAMPLE_RATE; j += BLOCK_LEN)
|
||||
{
|
||||
len = swept_tone(s, buf, BLOCK_LEN);
|
||||
@@ -86,7 +86,7 @@ int main(int argc, char *argv[])
|
||||
#endif
|
||||
}
|
||||
|
||||
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