OutputPlugin: update API documentation

This commit is contained in:
Max Kellermann 2016-10-28 21:09:22 +02:00
parent afcff1fa77
commit 69de99636f
1 changed files with 4 additions and 6 deletions

View File

@ -64,9 +64,7 @@ struct AudioOutputPlugin {
/**
* Enable the device. This may allocate resources, preparing
* for the device to be opened. Enabling a device cannot
* fail: if an error occurs during that, it should be reported
* by the open() method.
* for the device to be opened.
*
* @return true on success, false on error
*/
@ -137,8 +135,8 @@ struct AudioOutputPlugin {
* disconnected. Plugins which do not support pausing will
* simply be closed, and have to be reopened when unpaused.
*
* @return false on error (output will be closed then), true
* for continue to pause
* @return false on error (output will be closed by caller),
* true for continue to pause
*/
bool (*pause)(AudioOutput *data);