From 7260c467b8a76033f176cf0a17f17df76260aa01 Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Sun, 22 Mar 2015 08:42:43 +0100 Subject: [PATCH] AudioStream: Clarify thread-safe usage of stream flags --- src/audiostream.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/audiostream.h b/src/audiostream.h index d968af3..3f234a0 100644 --- a/src/audiostream.h +++ b/src/audiostream.h @@ -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.