output/Thread: move code to InternalClose()

This commit is contained in:
Max Kellermann
2017-06-08 21:59:48 +02:00
parent 0494779ecb
commit 7cb82fe8f3
2 changed files with 18 additions and 6 deletions
+5
View File
@@ -384,6 +384,11 @@ private:
void InternalOpen(AudioFormat audio_format,
const MusicPipe &pipe) noexcept;
/**
* Runs inside the OutputThread.
*/
void InternalClose(bool drain) noexcept;
/**
* Wait until the output's delay reaches zero.
*