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

Unified Diff: content/renderer/media/audio_hardware.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: Removed more size_t 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/media/audio_hardware.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/audio_hardware.h
diff --git a/content/renderer/media/audio_hardware.h b/content/renderer/media/audio_hardware.h
index c6030733a11697d2b316ef3a3c5d0f10f7cc8db1..ea9a28a61ed57b4f7b8c0c293b34ef93e3d62ac2 100644
--- a/content/renderer/media/audio_hardware.h
+++ b/content/renderer/media/audio_hardware.h
@@ -26,6 +26,10 @@ CONTENT_EXPORT double GetInputSampleRate();
// Must be called from RenderThreadImpl::current().
CONTENT_EXPORT size_t GetOutputBufferSize();
+// Fetch the number of audio channels for the default input device.
+// Must be called from RenderThreadImpl::current().
+CONTENT_EXPORT uint32 GetInputChannelCount();
+
// Forces the next call to any of the Get functions to query the hardware
// and repopulate the cache.
CONTENT_EXPORT void ResetCache();
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/media/audio_hardware.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698