OLD | NEW |
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 media streaming. | 5 // IPC messages for the media streaming. |
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 "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 IPC_STRUCT_TRAITS_BEGIN(content::StreamDeviceInfo) | 43 IPC_STRUCT_TRAITS_BEGIN(content::StreamDeviceInfo) |
44 IPC_STRUCT_TRAITS_MEMBER(device.type) | 44 IPC_STRUCT_TRAITS_MEMBER(device.type) |
45 IPC_STRUCT_TRAITS_MEMBER(device.name) | 45 IPC_STRUCT_TRAITS_MEMBER(device.name) |
46 IPC_STRUCT_TRAITS_MEMBER(device.id) | 46 IPC_STRUCT_TRAITS_MEMBER(device.id) |
47 IPC_STRUCT_TRAITS_MEMBER(device.video_facing) | 47 IPC_STRUCT_TRAITS_MEMBER(device.video_facing) |
48 IPC_STRUCT_TRAITS_MEMBER(device.matched_output_device_id) | 48 IPC_STRUCT_TRAITS_MEMBER(device.matched_output_device_id) |
49 IPC_STRUCT_TRAITS_MEMBER(device.input.sample_rate) | 49 IPC_STRUCT_TRAITS_MEMBER(device.input.sample_rate) |
50 IPC_STRUCT_TRAITS_MEMBER(device.input.channel_layout) | 50 IPC_STRUCT_TRAITS_MEMBER(device.input.channel_layout) |
51 IPC_STRUCT_TRAITS_MEMBER(device.input.frames_per_buffer) | 51 IPC_STRUCT_TRAITS_MEMBER(device.input.frames_per_buffer) |
52 IPC_STRUCT_TRAITS_MEMBER(device.input.effects) | 52 IPC_STRUCT_TRAITS_MEMBER(device.input.effects) |
| 53 IPC_STRUCT_TRAITS_MEMBER(device.input.mic_positions) |
53 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.sample_rate) | 54 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.sample_rate) |
54 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.channel_layout) | 55 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.channel_layout) |
55 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.frames_per_buffer) | 56 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.frames_per_buffer) |
56 IPC_STRUCT_TRAITS_MEMBER(session_id) | 57 IPC_STRUCT_TRAITS_MEMBER(session_id) |
57 IPC_STRUCT_TRAITS_END() | 58 IPC_STRUCT_TRAITS_END() |
58 | 59 |
59 // Message sent from the browser to the renderer | 60 // Message sent from the browser to the renderer |
60 | 61 |
61 // The browser has generated a stream successfully. | 62 // The browser has generated a stream successfully. |
62 IPC_MESSAGE_ROUTED4(MediaStreamMsg_StreamGenerated, | 63 IPC_MESSAGE_ROUTED4(MediaStreamMsg_StreamGenerated, |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 int /* render frame id */, | 134 int /* render frame id */, |
134 int /* request id */, | 135 int /* request id */, |
135 std::string /* device_id */, | 136 std::string /* device_id */, |
136 content::MediaStreamType /* type */, | 137 content::MediaStreamType /* type */, |
137 GURL /* security origin */) | 138 GURL /* security origin */) |
138 | 139 |
139 // Request to close a device. | 140 // Request to close a device. |
140 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice, | 141 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice, |
141 int /* render frame id */, | 142 int /* render frame id */, |
142 std::string /*label*/) | 143 std::string /*label*/) |
OLD | NEW |