aboutsummaryrefslogtreecommitdiff
path: root/cswave.c
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2021-04-19 19:23:35 +0200
committercbdev <cb@cbcdn.com>2021-04-19 19:23:35 +0200
commitd0a273724b2bb2ad775d0461fe8ee5de1e6bad2f (patch)
tree23a09977097c0ad18a8eedb352120a8bfa6d9555 /cswave.c
parent419ab539dd22b11279310745dbf78e5b18f50cce (diff)
downloadcswave-d0a273724b2bb2ad775d0461fe8ee5de1e6bad2f.tar.gz
cswave-d0a273724b2bb2ad775d0461fe8ee5de1e6bad2f.tar.bz2
cswave-d0a273724b2bb2ad775d0461fe8ee5de1e6bad2f.zip
Add README & Licensev0.1
Diffstat (limited to 'cswave.c')
-rw-r--r--cswave.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cswave.c b/cswave.c
index 5460839..c26000b 100644
--- a/cswave.c
+++ b/cswave.c
@@ -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;
}