amixer: needs sget/cget support in stdin mode

GitHub issues - opened github at alsa-project.org
Sat Jan 8 00:00:37 CET 2022


alsa-project/alsa-utils issue #135 was opened from nick87720z:

I used alsactl and amixer to implement highly effective volume control applet executor. At least it's able to keep pace at touchpad, which sends 1000 scroll events in only 18 to 12 seconds.

`amixer --stdin` handles control events, while `alsactl monitor` is even source for applet display part (it's tint2 executor). But in order to get values to display - this display part has to run `alsactl sget` per request. Can't these commands be supported in stdin mode? From first look - expected lines number doesn't look unpredictable: for `sget` it depends on number of channels, and for `cget` - probably fixed.

Even `controls` command also could be supported, since it lists channel from biggest ID to 1, so moment of numid=1 could be understood as  end of list.

Issue URL     : https://github.com/alsa-project/alsa-utils/issues/135
Repository URL: https://github.com/alsa-project/alsa-utils


More information about the Alsa-devel mailing list