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

Side by Side Diff: content/common/media/audio_messages.h

Issue 11880009: Introduce AudioHardwareConfig for renderer side audio device info. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style nits. Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for the audio. 5 // IPC messages for the audio.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 base::SyncSocket::Handle /* socket handle */, 56 base::SyncSocket::Handle /* socket handle */,
57 uint32 /* length */) 57 uint32 /* length */)
58 #else 58 #else
59 IPC_MESSAGE_CONTROL4(AudioInputMsg_NotifyStreamCreated, 59 IPC_MESSAGE_CONTROL4(AudioInputMsg_NotifyStreamCreated,
60 int /* stream id */, 60 int /* stream id */,
61 base::SharedMemoryHandle /* handle */, 61 base::SharedMemoryHandle /* handle */,
62 base::FileDescriptor /* socket handle */, 62 base::FileDescriptor /* socket handle */,
63 uint32 /* length */) 63 uint32 /* length */)
64 #endif 64 #endif
65 65
66 // Notification message sent from AudioRendererHost to renderer after an output
67 // device change has occurred.
68 IPC_MESSAGE_CONTROL3(AudioMsg_NotifyDeviceChanged,
69 int /* stream_id */,
70 int /* new_buffer_size */,
71 int /* new_sample_rate */)
72
66 // Notification message sent from AudioRendererHost to renderer for state 73 // Notification message sent from AudioRendererHost to renderer for state
67 // update after the renderer has requested a Create/Start/Close. 74 // update after the renderer has requested a Create/Start/Close.
68 IPC_MESSAGE_CONTROL2(AudioMsg_NotifyStreamStateChanged, 75 IPC_MESSAGE_CONTROL2(AudioMsg_NotifyStreamStateChanged,
69 int /* stream id */, 76 int /* stream id */,
70 media::AudioOutputIPCDelegate::State /* new state */) 77 media::AudioOutputIPCDelegate::State /* new state */)
71 78
72 // Notification message sent from browser to renderer for state update. 79 // Notification message sent from browser to renderer for state update.
73 IPC_MESSAGE_CONTROL2(AudioInputMsg_NotifyStreamStateChanged, 80 IPC_MESSAGE_CONTROL2(AudioInputMsg_NotifyStreamStateChanged,
74 int /* stream id */, 81 int /* stream id */,
75 media::AudioInputIPCDelegate::State /* new state */) 82 media::AudioInputIPCDelegate::State /* new state */)
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 // Set audio volume of the input stream specified by stream_id. 147 // Set audio volume of the input stream specified by stream_id.
141 IPC_MESSAGE_CONTROL2(AudioInputHostMsg_SetVolume, 148 IPC_MESSAGE_CONTROL2(AudioInputHostMsg_SetVolume,
142 int /* stream_id */, 149 int /* stream_id */,
143 double /* volume */) 150 double /* volume */)
144 151
145 // Start the device referenced by the session_id for the input stream specified 152 // Start the device referenced by the session_id for the input stream specified
146 // by stream_id. 153 // by stream_id.
147 IPC_MESSAGE_CONTROL2(AudioInputHostMsg_StartDevice, 154 IPC_MESSAGE_CONTROL2(AudioInputHostMsg_StartDevice,
148 int /* stream_id */, 155 int /* stream_id */,
149 int /* session_id */) 156 int /* session_id */)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698