]> sigrok.org Git - libsigrok.git/blobdiff - src/input/wav.c
libsigrok.h: Fix multiple compiler warnings (-Wshift-overflow=2).
[libsigrok.git] / src / input / wav.c
index e5ab08914b1843ef37484ad212dd20b54ab96450..8ec3141ec9cf02ec1547052533238f7155f52386 100644 (file)
@@ -31,7 +31,7 @@
 #define LOG_PREFIX "input/wav"
 
 /* How many bytes at a time to process and send to the session bus. */
-#define CHUNK_SIZE               4096
+#define CHUNK_SIZE               (1 * 1024 * 1024 * sizeof(float))
 
 /* Minimum size of header + 1 8-bit mono PCM sample. */
 #define MIN_DATA_CHUNK_OFFSET    45
@@ -376,7 +376,7 @@ static int reset(struct sr_input *in)
 SR_PRIV struct sr_input_module input_wav = {
        .id = "wav",
        .name = "WAV",
-       .desc = "WAV file",
+       .desc = "Microsoft WAV file format data",
        .exts = (const char*[]){"wav", NULL},
        .metadata = { SR_INPUT_META_HEADER | SR_INPUT_META_REQUIRED },
        .format_match = format_match,