Commit graph

645 commits

Author SHA1 Message Date
Takashi Iwai
b729f4fc30 exits with status 0 after -h option
amixer exits with status 0 after -h option (ALSA BTS #858).
2005-01-31 13:48:50 +00:00
Takashi Iwai
e188eaf097 Show other view names
alsamixer shows all view names in the View: line so that user
can understand what it means.  The currently used view is
shown with brackets and emphasized.
2005-01-31 13:46:05 +00:00
Takashi Iwai
6781eaa78c return error code on faillure
Patch by Thierry Vignaud <tvignaud@mandrakesoft.com>:

this enable callers to be aware of any faillure
2005-01-24 12:02:35 +00:00
Takashi Iwai
99e0fe4513 Sort options in alphabetic order
Sort options in alphabetic order.
2005-01-20 18:06:10 +00:00
Takashi Iwai
2b83c39265 Fix compile warnings
Fixed compile warnings due to unused variables.
2005-01-13 15:42:25 +00:00
Takashi Iwai
7fe50fb4fa Fix make without NLS
Fix make without NLS support.
2005-01-13 15:32:56 +00:00
Jaroslav Kysela
7cebba00e5 release: 1.0.8 2005-01-13 09:55:09 +00:00
Takashi Iwai
681201610d Support quick volume change
Patch provided by nijel, ALSA BTS #785:

Attached patch adds support for quickly changing volume using 0-9 keys
in simmilar way as aumix does.
2005-01-12 11:08:53 +00:00
Takashi Iwai
c074e5e93d Remove number key assignment
Don't use number keys for alternatives to F1-F5.
The Tab key can be used to toggle view modes, instead.
2005-01-12 11:02:27 +00:00
Clemens Ladisch
f72966589c fix crashes when selecting an empty view
alsamixer would crash when a view without controls was selected
2005-01-10 08:25:27 +00:00
Takashi Iwai
2508fc58b5 Fix installation
It seems that old autoconf doesn't like @mkdir_p@...
2005-01-05 11:40:10 +00:00
Jaroslav Kysela
7ab9d16db3 release: 1.0.8rc2 2005-01-05 06:59:09 +00:00
Takashi Iwai
6cac9800df Fix installation
Fix installation: use mkdir -p instead of mkinstalldirs.
2005-01-03 13:35:10 +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
Takashi Iwai
990153e3a4 Fix compilation
Fix compilation: the code was based on the developing version of alsa-lib...
2005-01-03 13:32:34 +00:00
Takashi Iwai
bc70fd0429 Usability improvement
Improved the usability of alsamixer:

- the mute/unmute appears in a separate box below the volume bar
  more obviously
- the capture switch appears below the volume bar, too
- the controls without volume doesn't show volume bars
- fixed bugs with all view mode
- fixed the calculation of volume bar size
- show left/right scrollable status
- code clean up
2005-01-03 12:00:08 +00:00
Takashi Iwai
82c3b093db Misc clean up
Misc clean up: make msgmerge as macro.
2005-01-03 11:57:42 +00:00
Takashi Iwai
f29d8f6b30 Require alsa-lib 1.0.8
Now requires alsa-lib 1.0.8 for the support of user-defined controls.
2005-01-03 11:57:02 +00:00
Takashi Iwai
2b86b6fe4e Support user-defined controls
Support store/restore of user-defined controls.
Also, the numid is no longer checked when -F option is given.
The element is determined only from the given name, iface, index, device and
subdevice.
2005-01-03 11:56:27 +00:00
Takashi Iwai
2904d69713 Move m4 to the tail of SUBDIRS
Moved m4 to the tail of SUBDIRS list.
2005-01-03 11:55:04 +00:00
Takashi Iwai
0aa74e8d4d i18nize alsaconf
alsaconf is i18nized.  Only ja.po is provided, so far.
2004-12-29 16:10:47 +00:00
Jaroslav Kysela
533d55ed7e release: 1.0.8rc1 2004-12-21 15:24:44 +00:00
Jaroslav Kysela
d679214053 release: 1.0.8-rc1 2004-12-21 14:33:10 +00:00
Takashi Iwai
87584238c2 More descriptions about mixer views and view modes
More descriptions about mixer view and view modes are added.
Corrected some typos.
2004-12-20 13:18:23 +00:00
Takashi Iwai
0b9e7577a3 Add -V option
Add -V option to specify the default view mode.
2004-12-20 13:17:47 +00:00
Takashi Iwai
2c82a98968 Start aplay/arecord in non-blocking mode
Start aplay/arecord with -N option in non-blocking mode.
2004-12-20 13:17:08 +00:00
Takashi Iwai
30b608001f Reinitialize the size calculation at view change
The volume bar and space sizes are recalculated at each time when
the view mode is changed.  This will fix the problem when the view
with fewer volumes is switched to the view with more volumes.
2004-12-15 15:15:56 +00:00
Takashi Iwai
063ff485e2 Assign alternative keys for function keys
Assign number 1-5 keys as alternative keys for the function keys.
Some terminal programs like gnome-terminal doesn't like that apps
use function keys.
2004-12-03 13:34:39 +00:00
Takashi Iwai
7b0c738323 Change the view toggle behavior
Added [F5] key to toggle to "All channels".
Back from help/proc screen keeps the old channel view mode.
2004-12-02 17:27:41 +00:00
Thomas Hood
245c371483 Add man page of speaker-test
Attached is a speaker-test man page which I believe was submitted to
Debian by James Courtier-Dutton. Please proof read it before including it.

Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>
2004-12-02 14:44:58 +00:00
Jaroslav Kysela
78c7251f04 release: 1.0.7 2004-11-11 18:29:03 +00:00
Takashi Iwai
067be2158d added requirements section and fixed the obsolete path 2004-11-09 18:36:47 +00:00
Jaroslav Kysela
78f5beec33 release: 1.0.7rc2 2004-10-12 05:58:45 +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
33b47cd2d4 make alsaconf parse lspci output correctly
Fix for systems like debian which has different lspci output.

Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>
2004-09-24 11:29:02 +00:00
Takashi Iwai
24f54a9ea6 Assign '?' key for help
Assign '?' key for viewing the help as a synonym for 'h'.
2004-09-24 10:19:29 +00:00
Thomas Hood
9adc21fdb0 mention that commands given to alsamixer in upper case can also be entered in lower case
Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>
2004-09-24 10:00:42 +00:00
Thomas Hood
dba1bfa750 Refrain from creating /etc/modprobe.conf if it does not already exist
Patch for alsaconf which makes it refrain from creating
/etc/modprobe.conf if the latter does not already exist.

Creating an empty /etc/modprobe.conf is bad because if it
exists then modprobe uses _only_ this file -- it does not
use /etc/modprobe.d/.

Additionally, this patch makes alsaconf set the cleanup
trap before it creates temporary files rather than after.

Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>
2004-09-24 09:58:20 +00:00
Thomas Hood
7de47ff37b Add a missing letter 'e'
Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>
2004-09-24 09:53:32 +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
Thomas Hood
3e6080525e fixes its use of formatting codes in amixer.1
Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>
2004-09-24 09:49:57 +00:00
Thomas Hood
3b32c65f4e mention that '<' and '>' mute channels separately only if the hardware supports this
Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>
2004-09-24 09:36:52 +00:00
Thomas Hood
3e561660cf Correct the description of the function of the spacebar in alsamixer.1
Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>
2004-09-24 09:33:20 +00:00
Thomas Hood
57cf365811 In Debian write to the correct configuration file
Patch for alsaconf.in to make it use the correct configuration
filename for Debian

Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>
2004-09-23 11:00:35 +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
dfec58eb7e [alsaconf] fix probing, option clean up.
- Fixed the probing brokenness by my last change.
- Fixed long options.
- Now -L option requires the logfile argument.
- Corrected manpage.
2004-08-31 16:27:25 +00:00
Takashi Iwai
398713e136 James Courtier-Dutton <James@superbug.demon.co.uk>:
It causes alsamixer to display 2 different views of the mixer controls.
One view shows only the "Playback" controls, the other view shows only
the "Capture" controls, with a hidden mode (Press F1, then Enter) to
show the old method of all controls together.
2004-08-27 16:29:20 +00:00
Takashi Iwai
63909d1cf7 Fixed the detection of audio class.
Now class 040? is detected, not only 0401 (Intel HD has 0402).
2004-08-27 16:25:37 +00:00
Jaroslav Kysela
acdd3317f9 release: 1.0.6 2004-08-15 08:24:58 +00:00
Jaroslav Kysela
095e74167c Fixed typo 2004-08-10 09:46:19 +00:00