On Sun, 2017-06-18 at 20:56 +0200, Marek Marczykowski-Górecki wrote:
> #1 is definitely better for latency, but also from architecture point of
> view - ultimately it will allow to get rid of one more thing out of dom0
> (either to dedicated AudioVM, or to GUI VM).
Thanks for the helpful information!
> Technically, you need to pass domain ID to vchan initialization in
> module-vchan-sink (gui-agent-linux/pulse/module-vchan-sink.c). I think
> you should use Qubes DB to let VMs know this ID (and set it during VM
> startup in dom0, based on some VM property).
I was assuming there would be a single AudioVM. I guess it might not
be that much more complicated to have each VM specify an AudioVM, but
is there a reasonable use case?
> control is currently implemented over dbus (session bus). It's easy to
> expose it over qrexec - just add one/two qrexec services with
> appropriate dbus-send commands.
OK. Some questions:
1. Currently, Qubes Manager monitors the recording status via a D-Bus
signal, which is nice because Qubes Manager will update properly if
another process sets the D-Bus property. Are you prepared to give up
that functionality, or can you propose another way to implement it?
2. How should dom0 tell pacat-simple-vchan to exit when the VM shuts
down? An additional D-Bus method?
One way to solve both problems would be to have a pacat "controller"
process in Dom0 that executes pacat-simple-vchan in the AudioVM and
keeps pipes open to and from it. The controller would then provide the
existing D-Bus API and communicate with pacat-simple-vchan via a simple
text-based protocol. However, I don't know if this is an architectural
style we'd want to encourage in general.
> For good UX, there should be shortcut to start audio mixer there and
> also some audio applet. And probably appropriate handling of volume
> control keys (up/down/mute). All over qrexec.
I'm not sure I would bother with this just for myself, but I might do
it if it makes the difference between the feature being accepted
upstream or not. ISTM that even if we aren't completely happy with the
UX to advertise the feature to all users, we could offer it via qvm-
prefs or something.
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.