diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-11 19:09:28 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-11 19:09:28 +0000 |
commit | 3ab20f3c57298ee24e15ec802b7e4b2e33598ca0 (patch) | |
tree | a10aa65bd80c00b2422f2ed94576677f1b5d2909 /chrome/common/render_messages_internal.h | |
parent | 5e6aacc34dd3f8e9b6483e897fb7da1cf582edcd (diff) | |
download | chromium_src-3ab20f3c57298ee24e15ec802b7e4b2e33598ca0.zip chromium_src-3ab20f3c57298ee24e15ec802b7e4b2e33598ca0.tar.gz chromium_src-3ab20f3c57298ee24e15ec802b7e4b2e33598ca0.tar.bz2 |
AudioRendererHost send ViewMsg_AudioStreamState
AudioRendererHost should use ViewMsg_AudioStreamState to
notify renderer of its state instead of AudioOutputStream::State.
The enum of AudioOutputStream::State is not used anywhere, thus
removed.
TEST=unit_tests --gtest_filter=Audio*
Review URL: http://codereview.chromium.org/165255
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23061 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages_internal.h')
-rw-r--r-- | chrome/common/render_messages_internal.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index d831654..3d27fb5 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -554,11 +554,9 @@ IPC_BEGIN_MESSAGES(View) // Notification message sent from AudioRendererHost to renderer for state // update after the renderer has requested a Create/Start/Close. - IPC_MESSAGE_ROUTED3(ViewMsg_NotifyAudioStreamStateChanged, + IPC_MESSAGE_ROUTED2(ViewMsg_NotifyAudioStreamStateChanged, int /* stream id */, - AudioOutputStream::State /* new state */, - int /* additional information (e.g. platform specific - error code*/) + ViewMsg_AudioStreamState /* new state */) IPC_MESSAGE_ROUTED3(ViewMsg_NotifyAudioStreamVolume, int /* stream id */, @@ -1413,7 +1411,7 @@ IPC_BEGIN_MESSAGES(ViewHost) size_t /* packet size */) // Start buffering the audio stream specified by (render_view_id, stream_id). - IPC_MESSAGE_ROUTED1(ViewHostMsg_StartAudioStream, + IPC_MESSAGE_ROUTED1(ViewHostMsg_PlayAudioStream, int /* stream_id */) // Pause the audio stream specified by (render_view_id, stream_id). |