Version 2 (modified by picander, 14 years ago) |
---|
Upload guides to using the FFADO Mixers to this page
Please include a copyright notice in the document together with the licence conditions (for example, a Creative Commons licence)
Controlling Mixer via dbus-send
It is possibile to manage mixer settings with dbus-send in order to control the device inside a script. First thing to do is analyzing the messages ffado-mixer sends to ffado-dbus-server. You can do it by executing dbus-monitor in this way
dbus-monitor "member=setValue"
Once started you have to fiddle with your mixer applet to discover the control element name and index shown by the dbus-monitor utility.
I.E. the following message seen in dbus-monitor when i touch the mute button in ffado-mixer:
method call sender=:1.9 -> dest=:1.10 serial=169900 path=/org/ffado/Control/DeviceManager/001486009ab43346/Mixer/MonitorMute; interface=org.ffado.Control.Element.MatrixMixer; member=setValue int32 0 int32 0 double 1
Can be replicated with the command
dbus-send --print-reply --dest=org.ffado.Control /org/ffado/Control/DeviceManager/001486009ab43346/Mixer/MonitorMute org.ffado.Control.Element.MatrixMixer.setValue int32:0 int32:0 double:1
Attachments
- FFADOSaffire.pdf.tar.gz (1.8 MB) - added by roy leith on 09/15/09 03:51:48.