Integrate into gobject.MainLoop? · Issue #11 · mk-fg/python-pulse-control (original) (raw)
Hello, great project!
Is it possible to integrate this into a gobject.MainLoop
?
I've read about the set_poll_func
but I am not quite sure how that fits into gobject
.
import gobject
mainloop = gobject.MainLoop()
try:
mainloop.run()
except KeyboardInterrupt:
pass
Furthermore, is that library compatible with any pulseaudio version?