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

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: Addressed comments and renamed the IPC classes+files 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..11f0fa9d0823421c27edca04416a20f4011246a2 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_output_ipc.h"
scherkus (not reviewing) 2012/07/25 22:34:11 a->z ordering
tommi (sloooow) - chröme 2012/07/26 09:19:36 Done.
+#include "media/audio/audio_input_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::AudioOutputIPCDelegate::State)
scherkus (not reviewing) 2012/07/25 22:34:11 a->z ordering
tommi (sloooow) - chröme 2012/07/26 09:19:36 Done.
+IPC_ENUM_TRAITS(media::AudioInputIPCDelegate::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 */,

Powered by Google App Engine
This is Rietveld 408576698