summaryrefslogtreecommitdiffstats
path: root/media/audio/audio_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/audio/audio_controller.h')
-rw-r--r--media/audio/audio_controller.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/media/audio/audio_controller.h b/media/audio/audio_controller.h
index 7b02af4..e7ef5f9 100644
--- a/media/audio/audio_controller.h
+++ b/media/audio/audio_controller.h
@@ -183,6 +183,9 @@ class AudioController : public base::RefCountedThreadSafe<AudioController>,
EventHandler* handler_;
AudioOutputStream* stream_;
+ // The current volume of the audio stream.
+ double volume_;
+
// |state_| is written on the audio controller thread and is read on the
// hardware audio thread. These operations need to be locked. But lock
// is not required for reading on the audio controller thread.