Yes, that may be possible. There are some tricks with the timing that may make that challenging (e.g. we need to feed audio at regular intervals). I also have the sense that the original implementation was done that way, and we changed to this approach for some good reason that I can not currently recall :-/. I will dig a bit deeper and report back.
It took a bit of doing, but a non threaded version does appear to work; see related patch.
There are some timing gotchas when using pulse fifos to feed audio which Andrew had papered over using threads and sleeps; it took some work to explicitly work that in in watches and waits, but it seems to work.
Cheers, Jeremy _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel