diff options
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | wavextract.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..aa2e7ce --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +wavextract +wavextract.exe +*.swp +*.wav +*.csv diff --git a/wavextract.c b/wavextract.c index 2198989..99ccb58 100644 --- a/wavextract.c +++ b/wavextract.c @@ -131,7 +131,7 @@ int wave_verify_fact(int fd, hdr_fact_t* hdr){ } if(memcmp(hdr->magic, "fact", 4)){ - fprintf(stderr, "Invalid data magic\n"); + fprintf(stderr, "Invalid fact magic\n"); return 1; } @@ -256,6 +256,6 @@ int main(int argc, char** argv){ } close(source_fd); - fprintf(stderr, "Done, exported %" PRIsize_t " frames of data %d channels, processed %" PRIsize_t " samples\n", sample_offset, fmt.channels, fmt.channels * sample_offset); + fprintf(stderr, "Done, exported %" PRIsize_t " frames of data for %d channels, processed %" PRIsize_t " samples\n", sample_offset, fmt.channels, fmt.channels * sample_offset); return EXIT_SUCCESS; } |