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

Unified Diff: content/common/media/audio_messages.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/common/media/audio_messages.h
diff --git a/content/common/media/audio_messages.h b/content/common/media/audio_messages.h
index eb6124876dd126bbec5da316f7ebfd72e22ea73f..af19d2b673fd9384f177a47f46ee9b778d7c2381 100644
--- a/content/common/media/audio_messages.h
+++ b/content/common/media/audio_messages.h
@@ -19,8 +19,6 @@
#define IPC_MESSAGE_START AudioMsgStart
IPC_ENUM_TRAITS(AudioStreamState)
-IPC_ENUM_TRAITS(AudioParameters::Format)
-IPC_ENUM_TRAITS(ChannelLayout)
IPC_STRUCT_TRAITS_BEGIN(AudioBuffersState)
IPC_STRUCT_TRAITS_MEMBER(pending_bytes)
@@ -28,15 +26,6 @@ IPC_STRUCT_TRAITS_BEGIN(AudioBuffersState)
IPC_STRUCT_TRAITS_MEMBER(timestamp)
IPC_STRUCT_TRAITS_END()
-IPC_STRUCT_TRAITS_BEGIN(AudioParameters)
- IPC_STRUCT_TRAITS_MEMBER(format)
- IPC_STRUCT_TRAITS_MEMBER(channel_layout)
- IPC_STRUCT_TRAITS_MEMBER(sample_rate)
- IPC_STRUCT_TRAITS_MEMBER(bits_per_sample)
- IPC_STRUCT_TRAITS_MEMBER(samples_per_packet)
- IPC_STRUCT_TRAITS_MEMBER(channels)
-IPC_STRUCT_TRAITS_END()
-
// Messages sent from the browser to the renderer.
// Tell the renderer process that an audio stream has been created.

Powered by Google App Engine
This is Rietveld 408576698