mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
Changed spandsp from using TRUE and FALSE to using C99 true and false. It seems
like the quirks we used to get using those with C++ have gone away.
This commit is contained in:
@@ -69,11 +69,11 @@ int main(int argc, char *argv[])
|
||||
float rate;
|
||||
float sample_rate;
|
||||
const char *in_file_name;
|
||||
int sweep_rate;
|
||||
bool sweep_rate;
|
||||
int opt;
|
||||
|
||||
rate = 1.8f;
|
||||
sweep_rate = FALSE;
|
||||
sweep_rate = false;
|
||||
in_file_name = IN_FILE_NAME;
|
||||
while ((opt = getopt(argc, argv, "i:r:s")) != -1)
|
||||
{
|
||||
@@ -86,7 +86,7 @@ int main(int argc, char *argv[])
|
||||
rate = atof(optarg);
|
||||
break;
|
||||
case 's':
|
||||
sweep_rate = TRUE;
|
||||
sweep_rate = true;
|
||||
break;
|
||||
default:
|
||||
//usage();
|
||||
|
Reference in New Issue
Block a user