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

Unified Diff: content/renderer/media/audio_hardware.h

Issue 9655018: Make AudioParameters a class instead of a struct (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests Created 8 years, 9 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/renderer/media/audio_hardware.h
diff --git a/content/renderer/media/audio_hardware.h b/content/renderer/media/audio_hardware.h
index 5a9f85a0d2c880c97474d3f0a3d5bd007d0bcba2..36fea0f2c17e9b1a6590451f0ce03dd2040e8d01 100644
--- a/content/renderer/media/audio_hardware.h
+++ b/content/renderer/media/audio_hardware.h
@@ -8,6 +8,7 @@
#include "base/basictypes.h"
#include "content/common/content_export.h"
+#include "media/base/channel_layout.h"
// Contains static methods to query hardware properties from the browser
// process. Values are cached to avoid unnecessary round trips, but the cache
@@ -33,7 +34,7 @@ CONTENT_EXPORT size_t GetHighLatencyOutputBufferSize(int sample_rate);
// Fetch the number of audio channels for the default input device.
// Must be called from RenderThreadImpl::current().
scherkus (not reviewing) 2012/03/09 21:48:59 update docs
vrk (LEFT CHROMIUM) 2012/03/16 18:30:41 Done.
-CONTENT_EXPORT uint32 GetInputChannelCount();
+CONTENT_EXPORT ChannelLayout GetInputChannelLayout();
// Forces the next call to any of the Get functions to query the hardware
// and repopulate the cache.

Powered by Google App Engine
This is Rietveld 408576698