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
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
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
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
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
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
Jaroslav Kysela
25141facf0
amorac <amorac@ole.com>
...
arecord doesn't record if you don't indicate the time limit
The problem happens when the Wave-file is checked for it being even.
I have tried with the next change in aplay.c and it seems to work fine.
2004-04-27 13:38:59 +00:00
Jaroslav Kysela
2b6e61e353
Jeff Law
...
aplay.c relies upon a GCC extension that has been removed.
Specifically the "cast as lvalue" extension. This patch removes
this dependency.
2004-03-09 17:43:46 +00:00
Jaroslav Kysela
9a30928540
more 64-bit stuff
2004-03-09 13:18:29 +00:00
Jaroslav Kysela
8383eaf65c
Fixed calc_count() routine - wav files with traling RIFF chunks sound ok now
2003-11-28 10:24:53 +00:00
Takashi Iwai
911e5f7248
- fixed the infinite loop in probing a card control.
2003-11-27 11:07:25 +00:00
Jaroslav Kysela
80476a0170
- changes against PCM API switch
...
- 1.0.0 version
- fixed amidi warning
2003-11-05 11:08:25 +00:00
Takashi Iwai
9b621eeac4
- fixed the order of period and buffer size setting.
...
firstly period then buffer size. this will avoid the problem of
rounding.
2003-09-11 11:23:58 +00:00
Jaroslav Kysela
0cc48a4ef8
More size_t off64_t changes
2003-08-27 11:12:50 +00:00
Jaroslav Kysela
5014a50176
Added snd_config_update_free_global() calls and 64-bit file offset support
2003-08-27 11:08:27 +00:00
Takashi Iwai
cb8494d8d4
- added --buffer-size and --period-size options.
...
- accept -h as the help :)
- fixed VU meter for 8 bit and negative values.
- updated man page.
2003-08-07 14:48:17 +00:00
Jaroslav Kysela
271d3b0fa1
Fixed version string
2003-07-31 07:39:13 +00:00
Jaroslav Kysela
4bc7659559
Added handling of DRAINING state and extended verbose parts
2003-07-30 17:54:42 +00:00
Jaroslav Kysela
d1f08a0484
Yes, we have 192kHz hardware now
2003-07-29 14:33:47 +00:00
Jaroslav Kysela
09982b15d7
Added -f cdr
2003-06-04 07:31:50 +00:00
Jaroslav Kysela
071c299369
Added missing initialization of pbrec_count variable
2003-04-27 08:46:33 +00:00
Jaroslav Kysela
812cb6cfd1
More verbose error report (xrun)
2003-04-19 08:38:50 +00:00
Takashi Iwai
436b33787d
- fixed the capture to stdout in WAV.
...
- allow more than 32bit int in the raw capture mode.
2003-03-19 14:42:00 +00:00
Jaroslav Kysela
ab0043f66a
Added a small intro for device_list
2003-03-10 14:25:45 +00:00
Jaroslav Kysela
53fb81e39b
Here's a new batch of Debian patches, all from David B. Harris.
...
- add a "Press Escape to quit" string to alsamixer's title, some uses
couldn't figure out how to exit the program (Debian Bug#178393).
- hide the cursor, which was missplaced and wasn't goodlooking anyway
(Debian Bug#81169).
- remove trailing spaces from amixer's output (Debian Bug#177518).
- don't ignore second -l/-L flags in aplay (Debian Bug#177521).
2003-02-24 13:51:15 +00:00
Jaroslav Kysela
1bfb694bf0
Sparc (AU) format is big endian (16-bit)
2003-02-24 12:44:05 +00:00
Jaroslav Kysela
3ca23300be
Don't clear resources in signal handler more than one time
2003-02-17 18:07:24 +00:00
Jaroslav Kysela
cab2b63bef
Added rate check
2003-02-12 13:51:25 +00:00
Takashi Iwai
c8ae22ea69
- fixed the calculation of playback/record count.
...
- fixed compile warnings on gcc3.3.
2003-02-04 16:03:12 +00:00
Takashi Iwai
056ee95e48
fixed the calculation of duration time for playback.
2003-01-29 11:15:54 +00:00
Jaroslav Kysela
bc9fc7595a
Redo wrong changes by Takashi
2002-12-19 11:26:55 +00:00
Takashi Iwai
e8fd94060e
store the actual RIFF length at the wav header by arecord.
...
will fix the data generated withtout -d option.
2002-12-19 11:10:05 +00:00