[X2Go-Commits] python-x2go.git - twofactorauth (branch) updated: 0.0.44.2-15-g5237fa7

X2Go dev team git-admin at x2go.org
Sat Sep 14 15:56:40 CEST 2013


The branch, twofactorauth has been updated
       via  5237fa7e404a32d5db858efb91d0b5940e40a56c (commit)
      from  46008e4e534b37ec2ef82965b477ea3e9df6ad05 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 x2go/pulseaudio.py |   17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

The diff of changes is:
diff --git a/x2go/pulseaudio.py b/x2go/pulseaudio.py
index c4e7dd3..fed1795 100644
--- a/x2go/pulseaudio.py
+++ b/x2go/pulseaudio.py
@@ -46,7 +46,17 @@ class X2goPulseAudio(threading.Thread):
 
     def __init__(self, path=None, client_instance=None, logger=None, loglevel=log.loglevel_DEFAULT):
         """\
-        STILL UNDOCUMENTED
+        Initialize a Pulse Audio daemon instance.
+
+        @param path: full path to pulseaudio.exe
+        @type path: C{str}
+        @param client_instance: the calling L{X2goClient} instance
+        @type client_instance: L{X2goClient} instance
+        @param logger: you can pass an L{X2goLogger} object to the L{X2goClientXConfig} constructor
+        @type logger: C{instance}
+        @param loglevel: if no L{X2goLogger} object has been supplied a new one will be
+            constructed with the given loglevel
+        @type loglevel: C{int}
 
         """
         if _X2GOCLIENT_OS not in ("Windows"):
@@ -70,7 +80,8 @@ class X2goPulseAudio(threading.Thread):
 
     def run(self):
         """\
-        STILL UNDOCUMENTED
+        This method is called once the C{X2goPulseAudio.start()} method has been called. To tear 
+        down the Pulseaudio daemon call the L{X2goPulseAudio.stop_thread()} method.
 
         """
         self._keepalive = True
@@ -130,7 +141,7 @@ class X2goPulseAudio(threading.Thread):
 
     def stop_thread(self):
         """\
-        STILL UNDOCUMENTED
+        Tear down a running Pulseaudio daemon.
 
         """
         self.logger('stop_thread() method has been called', loglevel=log.loglevel_DEBUG)


hooks/post-receive
-- 
python-x2go.git (Python X2Go Client API)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-x2go.git" (Python X2Go Client API).




More information about the x2go-commits mailing list