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

Unified Diff: content/test/webrtc_audio_device_test.h

Issue 9221010: Adds support for 16kHz input sample rate and mono channel config. in WebRTC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 d1caead26e4829683215b6a21c6021792992c87b..00cd4f75449792b6e2e1788ceb1ad99542450e42 100644
--- a/content/test/webrtc_audio_device_test.h
+++ b/content/test/webrtc_audio_device_test.h
@@ -109,6 +109,7 @@ class AudioUtilInterface {
virtual ~AudioUtilInterface() {}
virtual double GetAudioHardwareSampleRate() = 0;
virtual double GetAudioInputHardwareSampleRate() = 0;
+ virtual size_t GetAudioInputHardwareChannels() = 0;
tommi (sloooow) - chröme 2012/01/17 12:01:08 GetAudioInputHardwareChanneCount
henrika (OOO until Aug 14) 2012/01/17 12:54:59 Done.
};
// Implemented and defined in the cc file.
@@ -137,6 +138,7 @@ class WebRTCAudioDeviceTest
void OnGetHardwareSampleRate(double* sample_rate);
void OnGetHardwareInputSampleRate(double* sample_rate);
+ void OnGetHardwareInputChannels(size_t* channels);
// IPC::Channel::Listener implementation.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698