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

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 2755613002: Support audio output device enumeration and selection in PPAPI (Closed)
Patch Set: Fix format, Rebase Created 3 years, 8 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
« no previous file with comments | « ppapi/proxy/interface_list.cc ('k') | ppapi/proxy/resource_creation_proxy.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 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 2228 matching lines...) Expand 10 before | Expand all | Expand 10 after
2239 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open, 2239 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open,
2240 std::string /* device_id */, 2240 std::string /* device_id */,
2241 PP_AudioSampleRate /* sample_rate */, 2241 PP_AudioSampleRate /* sample_rate */,
2242 uint32_t /* sample_frame_count */) 2242 uint32_t /* sample_frame_count */)
2243 // Reply to an Open call. This supplies a socket handle and a shared memory 2243 // Reply to an Open call. This supplies a socket handle and a shared memory
2244 // handle. Both handles are passed in the ReplyParams struct. 2244 // handle. Both handles are passed in the ReplyParams struct.
2245 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioInput_OpenReply) 2245 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioInput_OpenReply)
2246 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */) 2246 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */)
2247 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close) 2247 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close)
2248 2248
2249 // Audio output.
2250 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioOutput_Create)
2251 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioOutput_Open,
2252 std::string /* device_id */,
2253 PP_AudioSampleRate /* sample_rate */,
2254 uint32_t /* sample_frame_count */)
2255 // Reply to an Open call. This supplies a socket handle and a shared memory
2256 // handle. Both handles are passed in the ReplyParams struct.
2257 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioOutput_OpenReply)
2258 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioOutput_StartOrStop, bool /* playback */)
2259 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioOutput_Close)
2260
2249 // BrowserFont ----------------------------------------------------------------- 2261 // BrowserFont -----------------------------------------------------------------
2250 2262
2251 IPC_MESSAGE_CONTROL0(PpapiHostMsg_BrowserFontSingleton_Create) 2263 IPC_MESSAGE_CONTROL0(PpapiHostMsg_BrowserFontSingleton_Create)
2252 2264
2253 // Requests that the browser reply with the list of font families via 2265 // Requests that the browser reply with the list of font families via
2254 // PpapiPluginMsg_BrowserFontSingleton_GetFontFamiliesReply. 2266 // PpapiPluginMsg_BrowserFontSingleton_GetFontFamiliesReply.
2255 IPC_MESSAGE_CONTROL0(PpapiHostMsg_BrowserFontSingleton_GetFontFamilies) 2267 IPC_MESSAGE_CONTROL0(PpapiHostMsg_BrowserFontSingleton_GetFontFamilies)
2256 2268
2257 // Reply to PpapiHostMsg_BrowserFontSingleton_GetFontFamilies with the font 2269 // Reply to PpapiHostMsg_BrowserFontSingleton_GetFontFamilies with the font
2258 // family list. The |families| result is encoded by separating each family name 2270 // family list. The |families| result is encoded by separating each family name
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
2526 uint32_t /* status */) 2538 uint32_t /* status */)
2527 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 2539 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
2528 uint32_t /* error */) 2540 uint32_t /* error */)
2529 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 2541 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
2530 uint32_t /* buffer */) 2542 uint32_t /* buffer */)
2531 2543
2532 // Sent by the PPAPI process to indicate that a field trial has been activated. 2544 // Sent by the PPAPI process to indicate that a field trial has been activated.
2533 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FieldTrialActivated, std::string /* name */) 2545 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FieldTrialActivated, std::string /* name */)
2534 2546
2535 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2547 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « ppapi/proxy/interface_list.cc ('k') | ppapi/proxy/resource_creation_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698