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

Unified Diff: content/common/media/media_param_traits.h

Issue 12387006: Pass more detailed audio hardware configuration information to the renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 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/common/media/media_param_traits.h
===================================================================
--- content/common/media/media_param_traits.h (revision 185058)
+++ content/common/media/media_param_traits.h (working copy)
@@ -9,6 +9,7 @@
#include "ipc/ipc_param_traits.h"
namespace media {
+class AudioHardwareConfig;
class AudioParameters;
struct VideoCaptureParams;
}
@@ -16,6 +17,14 @@
namespace IPC {
template <>
+struct ParamTraits<media::AudioHardwareConfig> {
+ typedef media::AudioHardwareConfig param_type;
+ static void Write(Message* m, const param_type& p);
+ static bool Read(const Message* m, PickleIterator* iter, param_type* r);
+ static void Log(const param_type& p, std::string* l);
+};
+
+template <>
struct ParamTraits<media::AudioParameters> {
typedef media::AudioParameters param_type;
static void Write(Message* m, const param_type& p);

Powered by Google App Engine
This is Rietveld 408576698