x2go.pulseaudio module

X2GoPulseAudio class - a Pulseaudio daemon guardian thread.

exception x2go.pulseaudio.OSNotSupportedException[source]

Bases: BaseException

class x2go.pulseaudio.X2GoPulseAudio(path=None, client_instance=None, logger=None, loglevel=56)[source]

Bases: gevent.threading.Thread

This class controls the Pulse Audio daemon.

run()[source]

This method is called once the X2GoPulseAudio.start() method has been called. To tear down the Pulseaudio daemon call the L{X2GoPulseAudio.stop_thread()} method.

stop_thread()[source]

Tear down a running Pulseaudio daemon.