diff options
author | cbdev <cb@cbcdn.com> | 2023-10-03 21:41:56 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2023-10-03 21:41:56 +0200 |
commit | e112b91d49684940a6d51c035a2e3fe393d59ae6 (patch) | |
tree | 70a01a83b75dde779d37303213a5cd983ca772d1 | |
parent | b93d8362bea9621a5e18b648a6fa6c8541b5bfbc (diff) | |
download | wavextract-master.tar.gz wavextract-master.tar.bz2 wavextract-master.zip |
-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; } |