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
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
Jaroslav Kysela
f2aad9f2a6
Fixed detection of 24-bit wav files
2002-12-18 12:04:59 +00:00
Jaroslav Kysela
ad59b5031c
Use new sw params API
2002-10-22 18:00:52 +00:00
Takashi Iwai
884bc104ef
- fixed the multi-line string (deprecated).
...
- fixed the calculation of max peak for 32bit samples.
- change -v option accumulative. peak bars are shown with double -v
options.
2002-10-02 14:42:00 +00:00
Jaroslav Kysela
818b37a1d7
Updated to latest alsa-lib
2002-09-19 16:19:12 +00:00
Jaroslav Kysela
7dbfb61047
Updated for last changes
2002-09-17 13:02:17 +00:00
Takashi Iwai
a00e467d67
added -P (--playback) and -C (--capture) options to specify the
...
stream explicitly regardless of its program name.
2002-08-27 16:33:28 +00:00
Takashi Iwai
a07a85bf5e
support 24bit WAV format.
...
test sample files are wanted!
2002-08-27 16:32:16 +00:00
Takashi Iwai
ea1fec7d84
fixed capture of wav on big-endian.
2002-05-17 15:48:33 +00:00
Takashi Iwai
b9f9453a9a
fixed the format of 16bit-au file.
2002-05-07 12:20:19 +00:00
Takashi Iwai
2ebe53c082
fixed typo of --period-size option.
2002-04-29 16:00:28 +00:00
Jaroslav Kysela
44c2918ad5
Fix for raw data recording by Georgios Papoutsis <gepap@gmx.de>
2002-04-01 19:29:22 +00:00
Jaroslav Kysela
95c2d5043a
Fixed playing of wave files with big header section
2002-03-08 21:52:20 +00:00
Jaroslav Kysela
3fc76a4e6d
Fixed count overflow problem
2002-02-23 09:28:47 +00:00
Jaroslav Kysela
5524873f8d
Improved peak printed results
2002-02-22 08:30:04 +00:00
Jaroslav Kysela
6c97531cf5
Added support for 32-bit counts
2002-02-07 16:46:29 +00:00
Jaroslav Kysela
7ba18d08d4
Fixed calculation of start_delay
2002-02-02 19:29:04 +00:00
Jaroslav Kysela
6a76ce51c0
Added limits for start_threshold
2002-02-02 09:47:19 +00:00
Jaroslav Kysela
ccb2381331
Fixed arecord dependency
2002-01-06 10:17:28 +00:00
Jaroslav Kysela
fbef826541
Added arecord to bin_PROGRAMS
2001-12-30 09:36:26 +00:00
Jaroslav Kysela
bc638e8edb
Updated GNU GPL (address)
2001-12-30 09:32:53 +00:00
Jaroslav Kysela
c5a22a4622
Fixed default start_delay for arecord
2001-12-01 20:26:46 +00:00
Jaroslav Kysela
e98c0a3d80
Default start_delay is zero (maximum buffering)
2001-11-27 17:37:48 +00:00
Jaroslav Kysela
bd6e546b5f
Fixed wave file saving by James Tappin
2001-11-14 07:38:18 +00:00
Takashi Iwai
56901aca46
added missing DESTDIR
2001-11-08 13:29:50 +00:00
Jaroslav Kysela
ca506c695b
Added man pages to EXTRA_DIST
2001-11-06 07:51:48 +00:00
Jaroslav Kysela
b009e6956c
Small cleanups
2001-10-24 14:41:10 +00:00
Jaroslav Kysela
505135dffe
Added arecord.1
2001-10-09 12:28:01 +00:00
Jaroslav Kysela
3eab6faf29
Update to suspend messages
2001-10-04 16:49:29 +00:00
Jaroslav Kysela
edf18fe4f3
Modified according the power management update
2001-10-04 16:41:45 +00:00
Jaroslav Kysela
bfa0a061ed
Added code for suspend code
2001-10-04 15:04:44 +00:00
Jaroslav Kysela
191da60508
Fixed warning
2001-10-02 08:03:52 +00:00
Jaroslav Kysela
0cdfe6f00d
Fixed peak meter
2001-10-02 07:43:12 +00:00
Jaroslav Kysela
6bd266995e
Changed location of asoundlib.h from sys dir to alsa dir.
...
(it means that official location is '#include <alsa/asoundlib.h>')
2001-09-11 09:34:14 +00:00
Jaroslav Kysela
a33994dd0b
Added signal handler and the count in captured file is corrected
2001-09-11 08:39:48 +00:00
Jaroslav Kysela
78b428e09a
Added peak meter for debugging purposes
2001-09-06 08:57:52 +00:00
Jaroslav Kysela
abe718c7cf
Corrected endian test
2001-08-22 11:00:07 +00:00
Jaroslav Kysela
f7b6aa50e6
Fixed compilation
2001-08-22 06:41:16 +00:00
Jaroslav Kysela
de6eefa17b
Little updates
2001-08-07 10:34:51 +00:00
Jaroslav Kysela
95dac87c1a
Update for 0.9
2001-08-07 10:28:24 +00:00
Jaroslav Kysela
9a35d631c3
Removed digital setup
2001-08-06 15:11:03 +00:00
Jaroslav Kysela
e875ea948d
Improved help and fixed english typo
2001-06-11 07:44:13 +00:00
Abramo Bagnara
009a7fee0a
Completed parametric configuration and begun to use it
2001-05-22 09:19:44 +00:00
Jaroslav Kysela
bbef4ad267
Fixed warning
2001-04-22 08:13:29 +00:00
Abramo Bagnara
ef6875f4ed
Improved automatic start/stop
2001-04-19 21:18:24 +00:00
Jaroslav Kysela
25f6d0f912
Added AU format
2001-04-15 09:50:17 +00:00
Abramo Bagnara
891bc76928
Better PCM mmap API. Fixed pcm_multi
2001-04-13 15:40:56 +00:00
Abramo Bagnara
f8ab746deb
Added mode argument to open functions where it was missing. First part of CTL documentation
2001-03-26 12:45:50 +00:00
Abramo Bagnara
3031ae4ec7
Fixes for pcm_list
2001-03-08 14:20:00 +00:00
Jaroslav Kysela
946078f8c4
Added period == buffer_size check to prevent misusing
2001-02-28 09:01:45 +00:00
Jaroslav Kysela
65dde04e4e
Corrected IEC958 control name
2001-02-27 12:27:04 +00:00
Abramo Bagnara
cd88bf91b8
Added timersub definition if missing
2001-02-25 11:54:05 +00:00
Abramo Bagnara
fbec0a5f8d
Completed mixer API. Improved iterators. Renamed control values struct. Rewritten simple elements implementation
2001-02-11 15:45:44 +00:00
Abramo Bagnara
012584247c
Completed control and mixer API
2001-02-09 11:20:32 +00:00
Abramo Bagnara
7d75ba2c1b
Better names for control API
2001-02-07 15:13:17 +00:00
Abramo Bagnara
0ef8943fb0
Control API encapsulation. Better names for kernel API. Simpler PCM hw_params API. Added missing const.
2001-02-06 23:48:29 +00:00
Abramo Bagnara
3df0171dc0
Encapsulated hwdep. Converted all enums to type safety
2001-02-05 15:44:45 +00:00
Abramo Bagnara
2121e1576c
Corrected and completed encapsulation for PCM and rawmidi. Remove SND_PCM_HW_PARAM_* and use functions. Separated rawmidi info between streams
2001-02-04 17:03:19 +00:00
Abramo Bagnara
a2426856b3
Removed card type from devices info. Added card number to devices info. Completed encapsulation of PCM API. Removed snd_pcm_card(). All copy functions now have the form copy(dst, src).
2001-01-31 17:26:59 +00:00
Abramo Bagnara
6f4c05c64a
Added snd_ prefix to mask and interval. Divided header.h wrappers
2001-01-30 16:51:28 +00:00
Abramo Bagnara
d1f96b62a8
First step toward encapsulation
2001-01-29 14:27:56 +00:00
Abramo Bagnara
72db56ca30
Fixed aplay -l
2001-01-29 08:41:26 +00:00
Abramo Bagnara
025a1c8d26
Added I/O classes
2001-01-17 11:00:34 +00:00
Abramo Bagnara
be058e4a04
Changed some remaining size_t's
2001-01-15 13:43:08 +00:00
Abramo Bagnara
744c8798c0
New PCM model with fragment concept removal and two interrupt sources
...
Renamed size_t/ssize_t to snd_pcm_sframes_t/snd_pcm_uframes_t
2001-01-15 11:06:55 +00:00
Abramo Bagnara
7b49188c03
Fixed missing mask initialization
2001-01-09 19:35:52 +00:00
Abramo Bagnara
924fa1704a
PCM API cleaning. silencing implementation. xfer_min removal
2000-12-29 15:00:55 +00:00
Jaroslav Kysela
652941f76e
Updated the S/PDIF test code.
2000-12-22 14:03:15 +00:00
Jaroslav Kysela
84f294a3b9
S/PDIF related changes..
2000-12-21 21:53:07 +00:00
Abramo Bagnara
a3696de829
New hw_params implementation
2000-12-21 20:44:11 +00:00
Jaroslav Kysela
2f0a374adb
pcm_name defaults to plug:0,0
2000-12-11 12:29:49 +00:00
Abramo Bagnara
2f6416f347
Fixed non interleaved with only one channels case
2000-12-11 11:19:39 +00:00
Abramo Bagnara
eadcd7a727
Runtime hw_info constraints support. New hw_info with lengths
2000-12-07 15:58:04 +00:00
Abramo Bagnara
5f542e20aa
More relaxed strategy
2000-12-04 10:08:30 +00:00
Jaroslav Kysela
3180b94099
Updates for the latest API (the next device changes).
2000-11-30 19:25:50 +00:00
Abramo Bagnara
b62a07a9db
Fixed sw_params
2000-11-30 14:14:36 +00:00
Jaroslav Kysela
fd099e6484
Added debug flags
2000-11-29 18:34:03 +00:00
Abramo Bagnara
95785f81a3
Missing letters
2000-11-29 18:29:31 +00:00
Abramo Bagnara
880f642260
Added experimental options for spdif output (for debugging purpose)
2000-11-29 18:27:33 +00:00
Abramo Bagnara
c3348ac9dd
Cleaned all hw_info. Removed snd_pcm_hw_{info,params}_rules* and changed strategy to allow the same functionality. Cleaned names tables. Added informative failure
2000-11-29 08:32:36 +00:00
Jaroslav Kysela
25b7943321
Merged pcmfinal branch.
2000-11-20 20:11:13 +00:00
Jaroslav Kysela
cfce590e41
DESTDIR fixes
2000-11-04 12:16:28 +00:00
Abramo Bagnara
00cf60e11d
Ported to alsa-lib changes
2000-10-14 10:35:24 +00:00
Abramo Bagnara
0f2eaba07a
Removed memory leak
2000-10-07 17:00:33 +00:00
Abramo Bagnara
5e4997b682
Removed snd_pcm_drain done before setup
2000-10-05 11:25:01 +00:00
Abramo Bagnara
fe0398a0f6
Removed ptrs from status. Some cleaning for alsa-lib
2000-10-05 10:26:08 +00:00
Abramo Bagnara
da8c3eddb0
Removed xrun_max. Cleaned xrun handling
2000-10-03 06:47:16 +00:00
Abramo Bagnara
907eba4cf9
Removed xrun_act. Added SND_PCM_STATE_DRAINING. Clean spinlock abuse in read/write path
2000-10-02 20:23:29 +00:00
Abramo Bagnara
543e387fc8
Renamed stop -> drop in API
2000-10-02 07:00:00 +00:00
Abramo Bagnara
2ec99095fe
Completed renaming drain->stop, flush->drain (PCM). Done renaming drain->drop, flush->drain (rawmidi and seq). Removed wrong module usage count inc/dec from mmap
2000-09-29 20:49:20 +00:00
Jaroslav Kysela
637b3f828c
Merged pcmplug branch.
2000-09-24 09:57:50 +00:00
Abramo Bagnara
d57f1ef166
Fixed thinko
2000-09-12 12:40:09 +00:00
Abramo Bagnara
5085796784
Some cleaning renames. Prepared API for new plugins
2000-09-12 07:11:02 +00:00
Abramo Bagnara
a6427e6044
Added abstraction layer to controls. Added client/server support to controls. Cleaned private_data use for PCMs. Cleaned aserver
2000-09-11 15:49:33 +00:00
Jaroslav Kysela
fad195af13
Fixed -l output
2000-09-09 23:17:04 +00:00
Jaroslav Kysela
8013b4b934
Recoded WAV file parser
2000-09-04 09:18:13 +00:00
Jaroslav Kysela
9d3cbc3833
Next fix in safe_read
2000-08-29 08:04:19 +00:00
Abramo Bagnara
44ee42e587
Better name for snd_card_get_index. Cleaned error messages
2000-08-25 14:36:58 +00:00
Abramo Bagnara
6add1cdfb5
Ported aplay to named PCMs
2000-08-24 17:59:21 +00:00
Jaroslav Kysela
983837e243
Fix
2000-08-23 14:38:37 +00:00
Jaroslav Kysela
bf4625ca5a
More verbose errors, added safe_read for pipes
2000-08-19 09:08:39 +00:00
Abramo Bagnara
80e0e86510
Slightly better failure diagnostic
2000-08-11 21:02:34 +00:00
Jaroslav Kysela
ad018be92c
64-bit fixes..
2000-08-04 09:55:35 +00:00
Abramo Bagnara
67aefd9f3e
Added dump facility. Continued pcm_multi implementation
2000-07-17 15:33:29 +00:00
Abramo Bagnara
54164096e3
Fixed timelimit use
2000-07-12 16:25:21 +00:00
Abramo Bagnara
c88189e490
Fixed arecord bug wrt time limit
2000-07-06 17:20:49 +00:00
Abramo Bagnara
bc41b6a2b7
Moved some info fields to proper place (setup). Renamed mmap_size to mmap_bytes. Added detailed fail report to params_t. Added params_info to API.
2000-07-01 10:38:30 +00:00
Abramo Bagnara
da6110d1a3
Added cd and dat format shortcuts
2000-06-25 16:30:20 +00:00
Abramo Bagnara
35c721265c
Conformance to new pcm_info semantic
2000-06-22 06:07:13 +00:00
Abramo Bagnara
c410bf9a62
Reorganized options and added support for pcm_multi
2000-06-21 15:05:06 +00:00