output/control: add command RELEASE
With the new command, the decision to pause or close the output moves into the output thread.
This commit is contained in:
@@ -131,6 +131,12 @@ class AudioOutputControl {
|
||||
CLOSE,
|
||||
PAUSE,
|
||||
|
||||
/**
|
||||
* Close or pause the device, depending on the
|
||||
* #always_on setting.
|
||||
*/
|
||||
RELEASE,
|
||||
|
||||
/**
|
||||
* Drains the internal (hardware) buffers of the device. This
|
||||
* operation may take a while to complete.
|
||||
|
||||
Reference in New Issue
Block a user