output/Internal: move the "pause" flag to struct AudioOutputControl

This commit is contained in:
Max Kellermann
2017-05-23 00:00:00 +02:00
parent dd29e6e475
commit 1fa1790da5
4 changed files with 13 additions and 15 deletions
+6
View File
@@ -143,6 +143,12 @@ class AudioOutputControl {
*/
bool enabled = true;
/**
* Is the device paused? i.e. the output thread is in the
* ao_pause() loop.
*/
bool pause = false;
/**
* When this flag is set, the output thread will not do any
* playback. It will wait until the flag is cleared.