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

Unified Diff: content/browser/renderer_host/render_message_filter.h

Issue 9655018: Make AudioParameters a class instead of a struct (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix copyright years 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/browser/renderer_host/render_message_filter.h
diff --git a/content/browser/renderer_host/render_message_filter.h b/content/browser/renderer_host/render_message_filter.h
index 36f12654f8994beadb37d372eedbb946d35e3919..fff19638f0a67bc2780a62eba7946dcfc218ff2f 100644
--- a/content/browser/renderer_host/render_message_filter.h
+++ b/content/browser/renderer_host/render_message_filter.h
@@ -21,6 +21,7 @@
#include "build/build_config.h"
#include "content/browser/renderer_host/resource_dispatcher_host_impl.h"
#include "content/public/browser/browser_message_filter.h"
+#include "media/base/channel_layout.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/surface/transport_dib.h"
@@ -172,9 +173,9 @@ class RenderMessageFilter : public content::BrowserMessageFilter {
void OnGetCPUUsage(int* cpu_usage);
void OnGetHardwareBufferSize(uint32* buffer_size);
- void OnGetHardwareInputSampleRate(double* sample_rate);
- void OnGetHardwareSampleRate(double* sample_rate);
- void OnGetHardwareInputChannelCount(uint32* channels);
+ void OnGetHardwareInputSampleRate(int* sample_rate);
+ void OnGetHardwareSampleRate(int* sample_rate);
+ void OnGetHardwareInputChannelLayout(ChannelLayout* layout);
// Used to ask the browser to allocate a block of shared memory for the
// renderer to send back data in, since shared memory can't be created

Powered by Google App Engine
This is Rietveld 408576698