Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Unified Diff: media/audio/win/audio_unified_win.h

Issue 12049070: Avoids irregular OnMoreData callbacks on Windows using Core Audio (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Non trivial rebase Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/audio/win/audio_unified_win.h
diff --git a/media/audio/win/audio_unified_win.h b/media/audio/win/audio_unified_win.h
index 0e8e82984a9df5005fa6ecb64d1062df2a0b1050..3f7cd68a9669efc788b8d1cf9fbc394de79ab496 100644
--- a/media/audio/win/audio_unified_win.h
+++ b/media/audio/win/audio_unified_win.h
@@ -117,6 +117,9 @@ class MEDIA_EXPORT WASAPIUnifiedStream
// True when successfully opened.
bool opened_;
+ // Volume level from 0 to 1.
+ double volume_;
+
// Size in bytes of each audio frame (4 bytes for 16-bit stereo PCM).
size_t frame_size_;

Powered by Google App Engine
This is Rietveld 408576698