# Python X2Go (Client) API Documentation (v0.6.1.3)

## x2go.pulseaudio module

X2GoPulseAudio class - a Pulseaudio daemon guardian thread.

exception `x2go.pulseaudio.``OSNotSupportedException`

  Bases: `BaseException`

class `x2go.pulseaudio.``X2GoPulseAudio`(path=None, client_instance=None, logger=None, loglevel=56)

  Bases: `gevent.threading.Thread`

  This class controls the Pulse Audio daemon.

  `run`()

    This method is called once the `X2GoPulseAudio.start()` method has been called. To tear down the Pulseaudio daemon call the `X2GoPulseAudio.stop_thread() <x2go.pulseaudio.X2GoPulseAudio.stop_thread()` method.

  `stop_thread`()

    Tear down a running Pulseaudio daemon.