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.)
This commit is contained in:
Takashi Iwai 2006-04-26 16:14:51 +02:00
parent 9104d67f40
commit f92e100b56

View file

@ -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 }
};