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

@@ -80,18 +80,18 @@ int main(int argc, char *argv[])
int total_pre_samples;
int total_compressed_bytes;
int total_post_samples;
const char *in_file_name;
int variant;
int chunk_size;
int enc_chunk_size;
int log_encoded_data;
int opt;
bool log_encoded_data;
const char *in_file_name;
variant = IMA_ADPCM_DVI4;
in_file_name = IN_FILE_NAME;
chunk_size = 160;
enc_chunk_size = 0;
log_encoded_data = FALSE;
log_encoded_data = false;
while ((opt = getopt(argc, argv, "ac:i:lv")) != -1)
{
switch (opt)
@@ -107,7 +107,7 @@ int main(int argc, char *argv[])
in_file_name = optarg;
break;
case 'l':
log_encoded_data = TRUE;
log_encoded_data = true;
break;
case 'v':
variant = IMA_ADPCM_VDVI;