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
Jaroslav Kysela
62a27ec90b
release 1.0.16rc1
...
Patch-level: Merged
2008-01-21 10:42:48 +01:00
Takashi Iwai
9abeb5843a
Remove xfer_align
...
The xfer_align is the obsolete feature now. Remove it from aplay
and speaker-test to avoid deprecated calls.
2008-01-08 18:39:06 +01:00
Takashi Iwai
4cb74aed89
Remove sleep_min from aplay
...
The sleep_min is the obsolete feature now. Remove it from aplay.
2008-01-08 18:38:32 +01:00
Takashi Iwai
beecc1419e
aplay - Reset non-blocking flag before snd_pcm_drain()
...
snd_pcm_drain() doesn't block when running with O_NONBLOCK.
Reset the non-blocking mode before calling snd_pcm_drain() properly
(and restore again for any further operations).
2007-12-14 15:29:51 +01:00
Jaroslav Kysela
48de580a7b
Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz
2007-10-15 10:25:17 +02:00
Takashi Iwai
7992d3aca0
aplay - Include missing time.h for time()
...
With salsa-lib,
aplay.c: In function ‘compute_max_peak’:
aplay.c:1207: warning: implicit declaration of function ‘time’
2007-08-07 15:36:41 +02:00
Takashi Iwai
483d8d65d9
aplay - Fix VU meter
...
Fix spaces displayed in VU meter to match with the actual max lengh (51).
2007-07-12 17:02:18 +02:00
Takashi Iwai
ea04f2c888
aplay - Fix possible endless loop with SIGBART
...
The signal handler may cause endless loop with SIGABRT.
2007-07-12 15:20:52 +02:00
Takashi Iwai
c7d2be17d7
Remove unneeded -lasound
...
-lasound is unnecessary in aplay/Makefile.am.
2007-06-04 15:15:39 +02:00
Jaroslav Kysela
815fc4bea0
aplay: namehint fix - use filter before printing device name
2006-11-30 13:45:08 +01:00
Jaroslav Kysela
a6f9df06af
fix for recent namehint API (use get_hint function)
2006-11-30 13:42:33 +01:00
Takashi Iwai
a8e31a5589
Fix argument for snd_device_name_hint().
...
Fix the iface argument for snd_device_name_hint().
2006-11-06 17:27:50 +01:00
Jaroslav Kysela
ff26da1a3d
aplay/arecord: Remove -n commad (obsolete, undocumented)
...
Also fix a small memory leak (missing snd_output_delete call).
2006-10-12 14:53:56 +02:00
Jaroslav Kysela
eee0b78320
aplay/arecord -L command: process properly end-of-line characters
2006-10-12 11:04:38 +02:00
Jaroslav Kysela
0b70f2e606
aplay/arecord: filter direction for -L command
2006-10-11 13:36:37 +02:00
Jaroslav Kysela
f6ed3aa3be
aplay/arecord - use snd_device_name_hint() for -L command
2006-10-11 13:31:47 +02:00
Jaroslav Kysela
e32785dd55
aplay: add fflush(stdout) for -vvv verbosity
...
See bug#2454
2006-10-01 15:03:26 +02:00
Takashi Iwai
e45f2f4bf5
Don't call close() for the same fd twice in arecord
...
Since fmt_rec_table[].end() closes the file descriptor, we should
reset fd to -1 for avoiding closing the same fd once again.
2006-08-03 17:33:32 +02:00
Takashi Iwai
3de280c6f4
Use the right word in message of areacord
...
Use the word "stdin" instead of "stdout" when arecord is used.
2006-08-03 17:29:51 +02:00
Takashi Iwai
2759c90a67
Fix segfault in aplay when snd_pcm_name() == NULL
...
Fix segfault in aplay when snd_pcm_name() == NULL.
2006-08-03 17:27:35 +02:00
Takashi Iwai
ca5cc4b984
Fix misc bugs in arecord
...
- remove unused static declaration
- fix double close in signal handler
- fix NULL reference
- fix max file size to stdout with non-raw format
- code clean up
2006-05-18 12:33:35 +02:00
Takashi Iwai
56190f977b
Fix endless loop of recording in arecord
...
Fix and clean up arecord (capture) code:
- fix the ending condition check
- fix invalid file close in raw mode
- clean up the code
2006-05-17 14:59:29 +02:00
Takashi Iwai
58bab1a4a7
Fix a compile warning in aplay.c
...
Fix a compile warning regarding the 2GB constant value.
2006-05-10 17:26:53 +02:00
Takashi Iwai
f92e100b56
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.)
2006-04-26 16:14:51 +02:00
Takashi Iwai
9104d67f40
Fix arecord to quit properly at max file size
...
Fix arecord to quit properly at the max file size of the given format.
2006-04-26 16:11:57 +02:00
Takashi Iwai
2516c6c43e
Don't show invalid plug example in the error message of aplay
...
Don't show invalid examples of usage with plug prefix
in the error message of aplay/arecord.
2006-04-18 15:14:43 +02:00
Takashi Iwai
2304da6822
Fix a typo in manpage
...
Fix a typo in manpage of aplay.
2006-03-13 19:38:36 +00:00
Takashi Iwai
9fb30e388f
Fix compile warnings
...
Fix trivial compile warnings.
2005-12-16 18:44:14 +00:00
Takashi Iwai
5f9f0e817c
split interleaved files in arecord when reaching 2GB
...
From: Dirk Jagdmann <doj@cubic.org>
This patch will split files in chunks of aprox. 2GB in the interleaved
recording mode of arecord. This is meant to overcome the 2GB filesize
limit of .wav files, which is easily reached when recording multiple
channels.
2005-12-06 11:25:47 +00:00
Takashi Iwai
504131b582
alternative peak meter for aplay
...
From: Dirk Jagdmann <doj@cubic.org>
This patch adds an alternative peak meter for aplay/arecord which is
enabled via three "-v" command line arguments. This new mode differs
from the old in a larger meter, no linefeeds for every meter update and
a static maximum peak (for 1s).
2005-12-06 11:23:00 +00:00
Jaroslav Kysela
9a335c4613
aplay/arecord - show the default settings
...
See bug#534 for more details.
2005-11-14 10:11:50 +00:00
Takashi Iwai
9dc666526f
Disable NLS support when --disable-nls is passed
...
Disable NLS support when --disable-nls is passed (bug#1514).
2005-11-08 16:43:36 +00:00
Takashi Iwai
9d1ad2effd
Fix compile with --disable-nls
...
Fix compile with --disable-nls.
2005-10-31 14:44:03 +00:00
Takashi Iwai
9fbb2b59f5
Use strtol() instead of atoi()
...
Use strtol() instead of atoi() for parsing parameters.
2005-10-18 15:22:25 +00:00
Takashi Iwai
71dd656ef1
Fix VU meter for S24_3 and big-endian
...
From: Martin Habets <errandir_news@mph.eclipse.co.uk>
Fixed VU meter calculation for S24_3 format and on big-endian.
2005-10-10 12:52:28 +00:00
Takashi Iwai
87ffccedfd
Fix / clean up man pages
...
Fix / clean up man pages (bug#1386)
2005-09-02 17:36:40 +00:00
Jaroslav Kysela
9997c99faf
aplay - remove EINTR handling (a job for alsa-lib)
2005-08-24 14:07:35 +00:00
Jaroslav Kysela
7fb39a9cd5
aplay - added -EINTR error code handling for read/write operations
2005-08-23 12:54:26 +00:00
Takashi Iwai
39ff48b437
Output help messages to stdout
...
Output help messages and lists to stdout instead of stderr.
2005-06-23 10:39:16 +00:00
Takashi Iwai
6343f35202
i18nize some programs
...
i18nize some programs with gettext.
2005-06-23 10:38:06 +00:00
Jaroslav Kysela
50414b817e
Added -n (--list-devnames) command
2005-05-10 10:53:40 +00:00
Takashi Iwai
02244f65c0
Fix VU meter
...
Fixed VU meter output of 8 and 32bit samples.
2005-01-03 13:33:06 +00:00
Nicolas FRANCOIS
ca5f8cbcfe
Fix hyphens in man pages
...
This patch converts hyphens to minus signs in the man pages (for options,
emails, or command line examples).
This patch also closes one font modifier in iecset.1.
(s/\fIfalse\fI,/\fIfalse\fP,/)
Signed-off-by: Nicolas FRANCOIS <nicolas.francois@centraliens.net>
2004-10-08 16:15:34 +00:00
Thomas Hood
c7faadde2d
Describe what happens if aplay's --duration is zero
...
Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>
2004-09-24 09:51:45 +00: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
Clemens Ladisch
ce70bf037a
manpages: remove bogus .ID macro, use .TP for examples
2004-07-09 07:09:28 +00:00
Takashi Iwai
36b797f335
Show warning if the format is changed due to the file type.
...
(e.g. WAV yields little-endian)
2004-07-01 09:36:54 +00:00
Clemens Ladisch
d6b7774f7f
print caption in hardware list only once
2004-06-10 15:50:58 +00:00
Clemens Ladisch
4b26b779a1
fix default buffer time setting when maximum buffer time is less than 250 ms
2004-05-03 10:03:57 +00:00