output/Internal: move the "pause" flag to struct AudioOutputControl
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user