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

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: cleaned up 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..1694b3b5fd13c49ba0d5d679c402814f88f6e183 100644
--- a/media/audio/win/audio_unified_win.h
+++ b/media/audio/win/audio_unified_win.h
@@ -94,6 +94,8 @@ class MEDIA_EXPORT WASAPIUnifiedStream
// processing/mixing of shared-mode streams for the default endpoint device.
int endpoint_channel_count() { return format_.Format.nChannels; }
+ bool FillRenderEndpointBufferWithSilence(UINT32* num_written_frames);
+
// Contains the thread ID of the creating thread.
base::PlatformThreadId creating_thread_id_;

Powered by Google App Engine
This is Rietveld 408576698