summaryrefslogtreecommitdiff
path: root/alsamixer
Commit message (Collapse)AuthorAgeFilesLines
* alsamixer: handle out-of-range volume valuesClemens Ladisch2010-02-221-1/+12
| | | | | | | | Ensure that control volume values are in their allowed range; otherwise, the displayed values could be outside the range 0..100 and mess up the layout. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* alsamixer: fix division by zeroClemens Ladisch2010-02-191-0/+2
| | | | | | | | The attempt to divide by max-min fails if a control has only one valid value. In this case, adjust the maximum so that the computation can succeed; the control will look like 0%. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* alsamixer: Improve set_escdelay() function availability detectionv1.0.21Jaroslav Kysela2009-08-311-1/+1
| | | | Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* alsamixer: fix display of inactive volume barClemens Ladisch2009-06-191-2/+4
| | | | | | | Fix the volume bar color selection logic so that the current attribute is used for inactive controls. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* alsamixer: rename attr to chClemens Ladisch2009-06-191-9/+8
| | | | | | | Rename the attr variable because it contains not only the character's attributes but also the character itself. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* alsamixer - Tricolorize volume barsTakashi Iwai2009-06-183-18/+51
| | | | | | A little of bit of Italian taste was missing... Signed-off-by: Takashi Iwai <tiwai@suse.de>
* alsamixer: update man pageClemens Ladisch2009-06-021-1/+1
| | | | | | Update man page for change in "CAPTURE" field. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* alsamixer: fix text box clipping with multi-column charactersClemens Ladisch2009-05-281-1/+1
| | | | | | | | When a multi-column character would straddle the left window border of a text box, we have to take the inserted space character into account when we compute how many characters fit into the rest of the line. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* alsamixer - Fix uninitialized variable warningTakashi Iwai2009-05-271-0/+1
| | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
* alsamixer: show channel names for multichannel controlsClemens Ladisch2009-05-2531-2509/+3942
| | | | | | | | | For multichannel mixer controls, add the channel name to each screen control. Also make some other small changes. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* ALSA: Added vi-like key bindings to alsamixer.Simon Hengel2009-04-201-0/+4
| | | | | | | | * Added 'j' as an alias for KEY_DOWN * Added 'k' as an alias for KEY_UP Signed-off-by: Simon Hengel <simon.hengel@gmx.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* Make some static tables and strings constants.Diego E. 'Flameeyes' Pettenò2008-11-211-1/+1
| | | | | | | | | | | By doing this we move them from the .data section to .rodata setion, or from .data.rel to .data.rel.ro. The .rodata section is mapped directly from the on-disk file, which is always a save, while .data.rel.ro is mapped directly when using prelink, which is a save in a lot of cases. Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
* Add check of ncurses*-configTakashi Iwai2008-04-161-2/+3
| | | | | | | | | The recent ncurses package provides ncurses*-config program to give the proper cflags and libs. Let's use them if available. Right now, the ncurses version (5) is hard-coded. It should be better to be variable as well, but it'd be messy. Hope the ncurses version won't change rapidly.
* alsamixer: add 8-channel supportClemens Ladisch2008-01-071-1/+3
| | | | | Add support for playback volume controls with 8 channels. This allows controlling the side channels on 7.1 devices.
* Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.czJaroslav Kysela2007-10-153-7/+7
|
* alsamixer - Handle capture enums separatelyTakashi Iwai2007-08-291-12/+23
| | | | | The capture enum controls should appear only in capture and all views. This is a fix for Input Source enum controls.
* amixer/alsamixer - updated go scripts for debuggingJaroslav Kysela2007-07-111-3/+5
|
* alsamixer - Fix duplicated appearance in All view modeTakashi Iwai2007-05-181-2/+9
| | | | | Fixed the duplicated appearances of common volumes / switches in ALL view mode.
* alsamixer: cosmetic fixJaroslav Kysela2006-10-041-1/+1
|
* Show the mute dB state correctlyTakashi Iwai2006-08-251-14/+22
| | | | Show the mute dB state correctly as 'mute' in the status line.
* amixer - show dB values for simple mixer interface (which is default)Jaroslav Kysela2006-07-271-3/+3
|
* Fix compile warningsTakashi Iwai2005-12-161-4/+4
| | | | Fix trivial compile warnings.
* Implement dB gain level display.James Courtier-Dutton2005-09-101-0/+42
| | | | | | DONE: If alsa-lib and alsa-driver support it, alsamixer now displays dB gain levels for all mixer controls. TODO: Implement alsa-lib and alsa-driver parts.
* Use strsignal()Takashi Iwai2005-09-071-1/+2
| | | | Use strsignal() instead of sys_siglist[] (bug#1400).
* Fix / clean up man pagesTakashi Iwai2005-09-021-5/+1
| | | | Fix / clean up man pages (bug#1386)
* Output help messages to stdoutTakashi Iwai2005-06-231-2/+3
| | | | Output help messages and lists to stdout instead of stderr.
* initial debug scriptJaroslav Kysela2005-06-161-0/+8
|
* Added support for abstraction selectionJaroslav Kysela2005-06-161-5/+21
| | | | - (basic abst might be the default someday)
* Fix a wrong display in the last patchTakashi Iwai2005-06-151-5/+6
| | | | Fixed a wrong item display in the last patch.
* Fix unexpected abort of alsamixerTakashi Iwai2005-06-151-37/+32
| | | | | | Fixed unexpected abort of alsamixer when no playback or capture elements are available. Also fixed the wrong use of temporary array in displaying item name.
* Fix typos in man pagesTakashi Iwai2005-06-081-1/+1
| | | | Fix typos in man pages (bug #1024)
* Fix crash with enum controlsTakashi Iwai2005-05-301-3/+1
| | | | Fix crash in display enum controls.
* Comment out a section that causes an assert in alsamixer, until this section ↵James Courtier-Dutton2005-05-281-1/+3
| | | | of code works.
* Fix segfault with no-capture devicesTakashi Iwai2005-05-231-2/+2
| | | | | Fix segfault on the device without capture controls when the view is changed to capture mode (bug #1080).
* Improve display of long text for enums.James Courtier-Dutton2005-05-221-5/+26
|
* Fix typoTakashi Iwai2005-03-301-1/+1
| | | | Fixed a typo.
* Show other view namesTakashi Iwai2005-01-311-4/+4
| | | | | | 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.
* Fix compile warningsTakashi Iwai2005-01-131-2/+0
| | | | Fixed compile warnings due to unused variables.
* Support quick volume changeTakashi Iwai2005-01-122-17/+59
| | | | | | | 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.
* Remove number key assignmentTakashi Iwai2005-01-122-14/+19
| | | | | Don't use number keys for alternatives to F1-F5. The Tab key can be used to toggle view modes, instead.
* fix crashes when selecting an empty viewClemens Ladisch2005-01-101-0/+10
| | | | alsamixer would crash when a view without controls was selected
* Usability improvementTakashi Iwai2005-01-032-173/+271
| | | | | | | | | | | | | 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
* More descriptions about mixer views and view modesTakashi Iwai2004-12-201-4/+59
| | | | | More descriptions about mixer view and view modes are added. Corrected some typos.
* Add -V optionTakashi Iwai2004-12-201-1/+9
| | | | Add -V option to specify the default view mode.
* Reinitialize the size calculation at view changeTakashi Iwai2004-12-151-19/+26
| | | | | | 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.
* Assign alternative keys for function keysTakashi Iwai2004-12-031-5/+10
| | | | | | 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.
* Change the view toggle behaviorTakashi Iwai2004-12-021-8/+17
| | | | | Added [F5] key to toggle to "All channels". Back from help/proc screen keeps the old channel view mode.
* Fix hyphens in man pagesNicolas FRANCOIS2004-10-081-6/+6
| | | | | | | | | | 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>
* Assign '?' key for helpTakashi Iwai2004-09-241-0/+1
| | | | Assign '?' key for viewing the help as a synonym for 'h'.
* mention that commands given to alsamixer in upper case can also be entered ↵Thomas Hood2004-09-241-0/+2
| | | | | | in lower case Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>