diff --git a/i_sndfile/i_sndfile.cpp b/i_sndfile/i_sndfile.cpp index 97ffc3cd387c3e8a8792009a9933ed8d133201c0..c579956340a9a3c8c1a02938ba1e3fffb42af50c 100644 --- a/i_sndfile/i_sndfile.cpp +++ b/i_sndfile/i_sndfile.cpp @@ -18,7 +18,7 @@ int main(int argc, char**argv){ blc_program_set_description("Record blc_channel input in a sound file"); blc_program_add_option(&filename, 'f', "file", "string", "filename of the file to write", NULL); - blc_program_add_option(&output_name, 'o', "output", "string", "Channel containing the fast fourier transformation", DEFAULT_OUTPUT_NAME); + blc_program_add_option(&output_name, 'o', "output", "string", "Channel where to put the sound", DEFAULT_OUTPUT_NAME); blc_program_add_option(&period_str, 'p', "period", "integer", "Period between each sample in ms (0 as fast as possible)", "0"); blc_program_add_option(&length_str, 's', "size", "integer", "Sample size", "4096"); blc_program_add_option(&samplerate_str, 'S', "samplerate", "integer", "frequency of sampling", "44100"); @@ -53,7 +53,7 @@ int main(int argc, char**argv){ BLC_COMMAND_LOOP(period*1000){ read_items_nb=sf_read_float(sndfile, output.floats, output.total_length); if (read_items_nb!=output.total_length) { - color_eprintf(BLC_YELLOW, "%s: Iteration %d: Missing data. Read '%lld' items instead of '%ld'. It is probably the end of the file\n", blc_program_name, blc_loop_iteration, read_items_nb, output.total_length); + color_eprintf(BLC_YELLOW, "%s: Iteration %llu: Missing data. Read '%lld' items instead of '%ld'. It is probably the end of the file\n", blc_program_name, blc_loop_iteration, read_items_nb, output.total_length); blc_command_ask_quit(); break; }