aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/Internal.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-10-23 23:24:01 +0200
committerMax Kellermann <max@duempel.org>2015-06-22 13:02:13 +0200
commitbef8c83388b71430100349faa20081bd77f155c6 (patch)
treeeeffd38e71384f4ed291172d97e96450a9afee84 /src/output/Internal.hxx
parent2e983244865ab1c004022034e74f61b8d8620543 (diff)
downloadmpd-bef8c83388b71430100349faa20081bd77f155c6.tar.gz
mpd-bef8c83388b71430100349faa20081bd77f155c6.tar.xz
mpd-bef8c83388b71430100349faa20081bd77f155c6.zip
OutputThread: move code to CloseOutput()
Diffstat (limited to '')
-rw-r--r--src/output/Internal.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/output/Internal.hxx b/src/output/Internal.hxx
index 23b027c54..6b67a8783 100644
--- a/src/output/Internal.hxx
+++ b/src/output/Internal.hxx
@@ -382,6 +382,13 @@ private:
void Close(bool drain);
void Reopen();
+ /**
+ * Close the output plugin.
+ *
+ * Mutex must not be locked.
+ */
+ void CloseOutput(bool drain);
+
AudioFormat OpenFilter(AudioFormat &format, Error &error_r);
/**