summaryrefslogtreecommitdiffstats
path: root/chromium/content/common/media/audio_messages.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/common/media/audio_messages.h')
-rw-r--r--chromium/content/common/media/audio_messages.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/chromium/content/common/media/audio_messages.h b/chromium/content/common/media/audio_messages.h
index 590d6c90cdb..3b9bc36ce6e 100644
--- a/chromium/content/common/media/audio_messages.h
+++ b/chromium/content/common/media/audio_messages.h
@@ -20,8 +20,11 @@
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
#define IPC_MESSAGE_START AudioMsgStart
-IPC_ENUM_TRAITS(media::AudioInputIPCDelegate::State)
-IPC_ENUM_TRAITS(media::AudioOutputIPCDelegate::State)
+IPC_ENUM_TRAITS_MAX_VALUE(media::AudioInputIPCDelegate::State,
+ media::AudioInputIPCDelegate::kStateLast)
+
+IPC_ENUM_TRAITS_MAX_VALUE(media::AudioOutputIPCDelegate::State,
+ media::AudioOutputIPCDelegate::kStateLast)
IPC_STRUCT_BEGIN(AudioInputHostMsg_CreateStream_Config)
IPC_STRUCT_MEMBER(media::AudioParameters, params)
@@ -96,9 +99,10 @@ IPC_MESSAGE_CONTROL2(AudioInputMsg_NotifyStreamVolume,
// Request that is sent to the browser for creating an audio output stream.
// |render_view_id| is the routing ID for the render view producing the audio
// data.
-IPC_MESSAGE_CONTROL4(AudioHostMsg_CreateStream,
+IPC_MESSAGE_CONTROL5(AudioHostMsg_CreateStream,
int /* stream_id */,
int /* render_view_id */,
+ int /* render_frame_id */,
int /* session_id */,
media::AudioParameters /* params */)