output/alsa: thread-safety documentation for attribute "active"

This commit is contained in:
Max Kellermann 2018-04-26 12:16:18 +02:00
parent e2cf777538
commit a6e5873443
1 changed files with 3 additions and 0 deletions

View File

@ -122,6 +122,9 @@ class AlsaOutput final
/**
* After Open(), has this output been activated by a Play()
* command?
*
* This attribute is not thread-safe. It is only used by the
* client thread (the thread which calls AudioOutput public methods).
*/
bool active;