[X2Go-Commits] [x2goclient] 142/267: 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
Sat Dec 10 13:35:50 CET 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 d530c913b6659feacbd4fd767a61b1e7c7aca505
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 1e5428d..c385fd5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -245,6 +245,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.
[ Bernard Cafarelli ]
* New upstream version (4.0.5.3):
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