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

Unified Diff: media/audio/audio_util.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: Adding 16 and 32kHz input support on Mac OS X 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: media/audio/audio_util.h
diff --git a/media/audio/audio_util.h b/media/audio/audio_util.h
index 278779ae308b30438b5893baea7d182010126c36..d5a0428db349d8807dbc68e13a036a958224b926 100644
--- a/media/audio/audio_util.h
+++ b/media/audio/audio_util.h
@@ -90,6 +90,9 @@ MEDIA_EXPORT double GetAudioInputHardwareSampleRate();
// at without glitches. The buffer size is in sample-frames.
MEDIA_EXPORT size_t GetAudioHardwareBufferSize();
+// Returns the default number of channels for the audio input hardware.
+MEDIA_EXPORT size_t GetAudioInputHardwareChannelCount();
+
// Functions that handle data buffer passed between processes in the shared
// memory. Called on both IPC sides.

Powered by Google App Engine
This is Rietveld 408576698