Commit graph

9 commits

Author SHA1 Message Date
Andrew Paprocki
6f438b9b9a aplay/arecord - Add support for IEEE float 32-bit WAV files
This patch modifies aplay/arecord to support playing/capturing IEEE float
32-bit WAV files. Tested on HDA hardware in both stereo and multi-channel
modes. Added the WAV file constant for Dolby AC-3 S/PDIF passthrough to
formats.h for future use when AC-3 passthrough is better supported.

Signed-off-by: Andrew Paprocki <andrew@ishiboo.com>
2008-02-06 14:05:07 +01:00
Clemens Ladisch
72ae8b1e79 various bugfixes
- don't parse -X option because such an option doesn't exist
- allow argument for --sleep-min option
- fix handling of .voc magic string
- fix handling of .voc files on big-endian machines
- remove superfluous "size" parameter from check_wavefile_space macro
- reallocate buffer only if needed in check_wavefile_space
- fix playback of >2GB .wav files
- skip over padding bytes in .wav files
- fix memory leak when playing .voc silence blocks
- fix file length when recording >2GB .wav files
- fix recording of >4GB files
2004-09-13 07:04:53 +00:00
Jaroslav Kysela
abe718c7cf Corrected endian test 2001-08-22 11:00:07 +00:00
Jaroslav Kysela
8013b4b934 Recoded WAV file parser 2000-09-04 09:18:13 +00:00
Abramo Bagnara
5825302e03 Uros Bizjak <uros@kss-loka.si>:
- fixes compilation (format.voices -> format.channels)
- ntohl -> BE_INT for AU files
- recoded AU_MAGIC header for AU files
2000-06-01 11:37:43 +00:00
Abramo Bagnara
048c2000f8 Better .wav detection 2000-05-29 18:54:23 +00:00
Takashi Iwai
3b5c5b2268 - fix alsamixer bug which causes SEGFAULT when volume bar is changed.
- fix aplay for reading WAVE file properly even on big-endian machine.
2000-05-16 10:46:11 +00:00
Jaroslav Kysela
8773d373f0 Coding style... 1998-11-27 15:17:45 +00:00
Jaroslav Kysela
fbb20e85ec Initial revision 1998-08-13 15:43:39 +00:00