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

Unified Diff: media/audio/audio_util.h

Issue 8283032: Low-latency AudioInputStream implementation based on WASAPI for Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fixes in AVRT wrapper based on review by tommi Created 9 years, 2 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
===================================================================
--- media/audio/audio_util.h (revision 105774)
+++ media/audio/audio_util.h (working copy)
@@ -79,9 +79,12 @@
int16* destination,
size_t number_of_frames);
-// Returns the default audio hardware sample-rate.
+// Returns the default audio input hardware sample-rate.
Chris Rogers 2011/10/19 00:55:18 comment is backwards: should be "audio output"
henrika (OOO until Aug 14) 2011/10/19 15:42:43 Thanks!
MEDIA_EXPORT double GetAudioHardwareSampleRate();
+// Returns the default audio output hardware sample-rate.
Chris Rogers 2011/10/19 00:55:18 should be "audio input"
henrika (OOO until Aug 14) 2011/10/19 15:42:43 Done.
+MEDIA_EXPORT double GetAudioInputHardwareSampleRate();
+
// Returns the optimal low-latency buffer size for the audio hardware.
// This is the smallest buffer size the system can comfortably render
// at without glitches. The buffer size is in sample-frames.

Powered by Google App Engine
This is Rietveld 408576698