| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
A little of bit of Italian taste was missing...
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
|
|
|
|
| |
Update man page for change in "CAPTURE" field.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Add support for playback volume controls with 8 channels.
This allows controlling the side channels on 7.1 devices.
|
| |
|
|
|
|
|
| |
The capture enum controls should appear only in capture and all views.
This is a fix for Input Source enum controls.
|
| |
|
|
|
|
|
| |
Fixed the duplicated appearances of common volumes / switches
in ALL view mode.
|
| |
|
|
|
|
| |
Show the mute dB state correctly as 'mute' in the status line.
|
| |
|
|
|
|
| |
Fix trivial compile warnings.
|
|
|
|
|
|
| |
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() instead of sys_siglist[] (bug#1400).
|
|
|
|
| |
Fix / clean up man pages (bug#1386)
|
|
|
|
| |
Output help messages and lists to stdout instead of stderr.
|
| |
|
|
|
|
| |
- (basic abst might be the default someday)
|
|
|
|
| |
Fixed a wrong item display in the last patch.
|
|
|
|
|
|
| |
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 pages (bug #1024)
|
|
|
|
| |
Fix crash in display enum controls.
|
|
|
|
| |
of code works.
|
|
|
|
|
| |
Fix segfault on the device without capture controls when the view
is changed to capture mode (bug #1080).
|
| |
|
|
|
|
| |
Fixed a typo.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Fixed compile warnings due to unused variables.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Don't use number keys for alternatives to F1-F5.
The Tab key can be used to toggle view modes, instead.
|
|
|
|
| |
alsamixer would crash when a view without controls was selected
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 view and view modes are added.
Corrected some typos.
|
|
|
|
| |
Add -V option to specify the default view mode.
|
|
|
|
|
|
| |
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 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.
|
|
|
|
|
| |
Added [F5] key to toggle to "All channels".
Back from help/proc screen keeps the old channel view mode.
|
|
|
|
|
|
|
|
|
|
| |
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 viewing the help as a synonym for 'h'.
|
|
|
|
|
|
| |
in lower case
Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>
|