AudioStream: Clarify thread-safe usage of stream flags

This commit is contained in:
Jonas Kulla 2015-03-22 08:42:43 +01:00
parent 8d7166f3d2
commit 7260c467b8
1 changed files with 4 additions and 1 deletions

View File

@ -55,7 +55,10 @@ struct AudioStream
/* Note that 'extPaused' and 'noResumeStop' are
* effectively only used with the AudioStream
* instance representing the BGM */
* instance representing the BGM.
* They are not AtomicFlags because they're regarded
* as part of the underlying stream state, and
* always accessed with the stream lock held */
/* Flag indicating that the MeWatch paused this
* (BGM) stream because a ME started playing.