From bef8c83388b71430100349faa20081bd77f155c6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 23 Oct 2014 23:24:01 +0200 Subject: OutputThread: move code to CloseOutput() --- src/output/Internal.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/output/Internal.hxx') 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); /** -- cgit v1.2.3