mixer applet.
bifferos
bifferos at yahoo.co.uk
Sat Jul 5 18:32:18 UTC 2014
Here's a mixer applet (OSS). It gets the list of mixer devices, gets and sets individual device values.
/ # mixer --help
BusyBox v1.22.1 (2014-06-23 15:19:41 BST) multi-call binary.
Usage: mixer [-d DEVICE] [MIXER [LEVEL]]
Sets the mixer volume at a specific level (0-100)
-d DEVICE use given mixer device (default /dev/mixer)
/ # mixer
Mixer: speaker mic phout
/ # mixer speaker
Level (L/R): 99/99
/ # mixer speaker 20
Level (L/R): 20/20
It adds about about 2.6k to Busybox and I don't really understand why. Even with the list of mixers it should only be ~500 bytes. If anyone has any suggestions I can try to fix that.
regards,
Biff.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mixer.c
Type: text/x-csrc
Size: 2356 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20140705/0df0f813/attachment.c>
More information about the busybox
mailing list