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

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

Issue 10790121: First step towards moving AudioDevice from content/ to media/audio. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update comments after closing ppapi bug Created 8 years, 5 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 ce0d4bd68f1c475d6f4113cc6d78d0190835b1d6..fd7f1f3065ce123fd0038612d67a3ec6726bc48b 100644
--- a/content/common/media/audio_messages.h
+++ b/content/common/media/audio_messages.h
@@ -12,16 +12,18 @@
#include "base/sync_socket.h"
#include "content/common/content_export.h"
#include "content/common/media/audio_param_traits.h"
-#include "content/common/media/audio_stream_state.h"
#include "ipc/ipc_message_macros.h"
#include "media/audio/audio_buffers_state.h"
+#include "media/audio/audio_input_ipc.h"
+#include "media/audio/audio_output_ipc.h"
#include "media/audio/audio_parameters.h"
#undef IPC_MESSAGE_EXPORT
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
#define IPC_MESSAGE_START AudioMsgStart
-IPC_ENUM_TRAITS(AudioStreamState)
+IPC_ENUM_TRAITS(media::AudioInputIPCDelegate::State)
+IPC_ENUM_TRAITS(media::AudioOutputIPCDelegate::State)
IPC_STRUCT_TRAITS_BEGIN(media::AudioBuffersState)
IPC_STRUCT_TRAITS_MEMBER(pending_bytes)
@@ -70,12 +72,12 @@ IPC_MESSAGE_CONTROL4(AudioInputMsg_NotifyStreamCreated,
// update after the renderer has requested a Create/Start/Close.
IPC_MESSAGE_CONTROL2(AudioMsg_NotifyStreamStateChanged,
int /* stream id */,
- AudioStreamState /* new state */)
+ media::AudioOutputIPCDelegate::State /* new state */)
// Notification message sent from browser to renderer for state update.
IPC_MESSAGE_CONTROL2(AudioInputMsg_NotifyStreamStateChanged,
int /* stream id */,
- AudioStreamState /* new state */)
+ media::AudioInputIPCDelegate::State /* new state */)
IPC_MESSAGE_CONTROL2(AudioInputMsg_NotifyStreamVolume,
int /* stream id */,
« no previous file with comments | « content/browser/renderer_host/media/audio_renderer_host_unittest.cc ('k') | content/common/media/audio_stream_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698