Some improvements on alsamixer
Hi,
Last night I hacked alsamixer to be a bit more cute. The patch is attached below. The patch also includes some fixes.
With this change, the mute and capture indicators are moved below the volume bars, which IMO is easier and more understandable. You can concentrate on the bottom area.
If you have any objections/comments on this change, please let me know. If it seems OK, I'll commit it to CVS later.
Takashi
Index: alsa-utils/alsamixer/alsamixer.1
===================================================================
RCS file: /home/tiwai/cvs/alsa/alsa-utils/alsamixer/alsamixer.1,v retrieving revision 1.9
alsamixer/alsamixer.1 +4 -4
@@ -58,12 +58,12 @@ the volume bar for left and right channels. For a mono control, only one value is shown there. -When a mixer control is turned off, \fIM\fP (mute) appears in the top -of its volume bar. Stereo controls may have two \fIM\fP's for left -and right channels. You can toggle the switch via \fIm\fP key. +When a mixer control is turned off, \fIM\fP (mute) appears below the +volume bar. When it's turned on, \fIO\fP in green appears instead. +You can toggle the switch via \fIm\fP key. When a mixer control has capture capability, the capture flag appears -over the volume bar. When the capture is turned off, +below the volume bar, too. When the capture is turned off, \-\-\-\-\-\- is shown. \fICAPTUR\fP in red appears when the capture switch is turned on. In addition, \fIL\fP and \fIR\fP letters appear in left and right side to indicate that left and the right
Index: alsa-utils/alsamixer/alsamixer.c
===================================================================
RCS file: /home/tiwai/cvs/alsa/alsa-utils/alsamixer/alsamixer.c,v retrieving revision 1.52
alsamixer/alsamixer.c +258 -165
566 lines not on this page · raw message