[X2Go-Commits] [x2goclient] 142/217: src/pulsemanager.{cpp, h}: add get_pulse_dir () for fetching the (OS-dependent) PulseAudio config and cookie directory.

git-admin at x2go.org git-admin at x2go.org
Wed Sep 21 01:09:15 CEST 2016


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch bugfix/osx
in repository x2goclient.

commit 18c0adbadf47cba2bb46159fb33c6966194ddcfb
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Apr 27 00:55:28 2016 +0200

    src/pulsemanager.{cpp,h}: add get_pulse_dir () for fetching the (OS-dependent) PulseAudio config and cookie directory.
---
 debian/changelog     |    2 ++
 src/pulsemanager.cpp |    4 ++++
 src/pulsemanager.h   |    1 +
 3 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 660d9a3..8542100 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -237,6 +237,8 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
     - macbuild.sh: libpulsecore.dylib also resides in the "private" pulseaudio
       subdirectory now, adding it to "special files workaround".
     - pulsemanager.cpp: remove config.pa while doing post-exit cleanups.
+    - src/pulsemanager.{cpp,h}: add get_pulse_dir () for fetching the
+      (OS-dependent) PulseAudio config and cookie directory.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Mon, 19 Sep 2016 09:07:07 +0200
 
diff --git a/src/pulsemanager.cpp b/src/pulsemanager.cpp
index 0d20ed1..4ac7ba5 100644
--- a/src/pulsemanager.cpp
+++ b/src/pulsemanager.cpp
@@ -579,6 +579,10 @@ bool PulseManager::get_playback () {
   return (playback_);
 }
 
+QDir PulseManager::get_pulse_dir () {
+  return (pulse_dir_);
+}
+
 bool PulseManager::set_pulse_port (std::uint16_t pulse_port) {
   bool ret = false;
 
diff --git a/src/pulsemanager.h b/src/pulsemanager.h
index 6d94e34..af7ae77 100644
--- a/src/pulsemanager.h
+++ b/src/pulsemanager.h
@@ -53,6 +53,7 @@ class PulseManager: public QObject {
     std::uint16_t get_esd_port ();
     bool get_record ();
     bool get_playback ();
+    QDir get_pulse_dir ();
 
     bool set_pulse_port (std::uint16_t pulse_port);
     bool set_esd_port (std::uint16_t esd_port);

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list