diff options
author | cbdev <cb@cbcdn.com> | 2021-04-19 19:23:35 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2021-04-19 19:23:35 +0200 |
commit | d0a273724b2bb2ad775d0461fe8ee5de1e6bad2f (patch) | |
tree | 23a09977097c0ad18a8eedb352120a8bfa6d9555 /cswave.c | |
parent | 419ab539dd22b11279310745dbf78e5b18f50cce (diff) | |
download | cswave-d0a273724b2bb2ad775d0461fe8ee5de1e6bad2f.tar.gz cswave-d0a273724b2bb2ad775d0461fe8ee5de1e6bad2f.tar.bz2 cswave-d0a273724b2bb2ad775d0461fe8ee5de1e6bad2f.zip |
Add README & Licensev0.1
Diffstat (limited to 'cswave.c')
-rw-r--r-- | cswave.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,7 +13,6 @@ #ifdef _WIN32 #define WIN32_LEAN_AND_MEAN #include <windows.h> - #include <winsock2.h> #define PRIsize_t "Iu" #define htole16(x) (x) #define htole32(x) (x) @@ -122,7 +121,8 @@ typedef struct /*_chunk_data*/ { static int usage(char* fn){ fprintf(stdout, "Call as %s <file.csv> <file.wav> <column> <samplerate> [<format>]\n", fn); - fprintf(stdout, "Possible formats: i8, i16 (default), i32, f32"); + fprintf(stdout, "Supported wave formats: i8, i16 (default), i32, f32\n"); + fprintf(stdout, "Note that when using integer output formats, floating point input samples will be truncated to their integer parts\n"); return EXIT_FAILURE; } |