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

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: Fixed audio glitch at startup 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..c71916600e720a60370291babed50a0dbf2d7df1 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.
+ float volume_;
tommi (sloooow) - chröme 2013/02/01 11:57:53 use double
henrika (OOO until Aug 14) 2013/02/01 12:23:52 Done.
+
// 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