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:
Steve Underwood
2013-08-08 21:40:28 +08:00
parent bf9809c10c
commit 365fc08719
212 changed files with 3152 additions and 2664 deletions

View File

@@ -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();