From f92e100b56bd2fff683315ff4d319ce379665069 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 26 Apr 2006 16:14:51 +0200 Subject: [PATCH] Allow aplay/arecord to handle up to 2GB for WAV Change the max_filesize value for WAV format to 2GB. (It's still not 100% sure that WAV allows *exactly* 2GB, though.) --- aplay/aplay.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aplay/aplay.c b/aplay/aplay.c index 7c3d7cd..6b35021 100644 --- a/aplay/aplay.c +++ b/aplay/aplay.c @@ -128,7 +128,8 @@ struct fmt_capture { } fmt_rec_table[] = { { NULL, end_raw, N_("raw data"), LLONG_MAX }, { begin_voc, end_voc, N_("VOC"), 16000000 }, - { begin_wave, end_wave, N_("WAVE"), 2000000000 }, + /* FIXME: can WAV handle exactly 2GB or less than it? */ + { begin_wave, end_wave, N_("WAVE"), 2147483648 }, { begin_au, end_au, N_("Sparc Audio"), LLONG_MAX } }; -- 2.47.1