X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Finput%2Fwav.c;h=8ec3141ec9cf02ec1547052533238f7155f52386;hb=3601d50e2643f4e871ef03c2f507f43a436ea81c;hp=e5ab08914b1843ef37484ad212dd20b54ab96450;hpb=2cff7a2ba7d516db7f1f0c376bddd2852abfc52c;p=libsigrok.git diff --git a/src/input/wav.c b/src/input/wav.c index e5ab0891..8ec3141e 100644 --- a/src/input/wav.c +++ b/src/input/wav.c @@ -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,