amixer: needs sget/cget support in stdin mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux