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

Unified Diff: content/test/webrtc_audio_device_test.h

Issue 12049070: Avoids irregular OnMoreData callbacks on Windows using Core Audio (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved FillRenderEndpointBufferWithSilence to CoreAudioUtil 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: content/test/webrtc_audio_device_test.h
diff --git a/content/test/webrtc_audio_device_test.h b/content/test/webrtc_audio_device_test.h
index 64097940ccf1ba0de128625c89694488be73d23b..6bda0053456fbe40ea2d86470886e21ad9337a23 100644
--- a/content/test/webrtc_audio_device_test.h
+++ b/content/test/webrtc_audio_device_test.h
@@ -119,6 +119,7 @@ class AudioUtilInterface {
const std::string& device_id) = 0;
virtual media::ChannelLayout GetAudioInputHardwareChannelLayout(
const std::string& device_id) = 0;
+ virtual int GetAudioOutputBufferSize() = 0;
};
// Implemented and defined in the cc file.
@@ -146,6 +147,7 @@ class WebRTCAudioDeviceTest : public ::testing::Test, public IPC::Listener {
void OnGetHardwareSampleRate(int* sample_rate);
void OnGetHardwareInputSampleRate(int* sample_rate);
void OnGetHardwareInputChannelLayout(media::ChannelLayout* channels);
+ void OnGetHardwareBufferSize(uint32* buffer_size);
// IPC::Listener implementation.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698