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

Side by Side Diff: ppapi/c/trusted/ppb_audio_trusted.h

Issue 6361004: melt the non-dev audio interface to 0.5 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | « ppapi/c/ppb_audio_config.h ('k') | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 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 #ifndef PPAPI_C_PPB_AUDIO_TRUSTED_H_ 5 #ifndef PPAPI_C_PPB_AUDIO_TRUSTED_H_
6 #define PPAPI_C_PPB_AUDIO_TRUSTED_H_ 6 #define PPAPI_C_PPB_AUDIO_TRUSTED_H_
7 7
8 #include "ppapi/c/pp_completion_callback.h" 8 #include "ppapi/c/pp_completion_callback.h"
9 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/c/pp_resource.h" 10 #include "ppapi/c/pp_resource.h"
11 11
12 #define PPB_AUDIO_TRUSTED_INTERFACE "PPB_AudioTrusted;1.0" 12 #define PPB_AUDIO_TRUSTED_INTERFACE "PPB_AudioTrusted;0.5"
13 13
14 /** 14 /**
15 * This interface is to be used by proxy implementations. All 15 * This interface is to be used by proxy implementations. All
16 * functions should be called from the main thread only. The 16 * functions should be called from the main thread only. The
17 * resource returned is an Audio resource; most of the PPB_Audio 17 * resource returned is an Audio resource; most of the PPB_Audio
18 * interface is also usable on this resource. 18 * interface is also usable on this resource.
19 */ 19 */
20 struct PPB_AudioTrusted { 20 struct PPB_AudioTrusted {
21 /** Returns an audio resource. */ 21 /** Returns an audio resource. */
22 PP_Resource (*CreateTrusted)(PP_Instance instance); 22 PP_Resource (*CreateTrusted)(PP_Instance instance);
(...skipping 18 matching lines...) Expand all
41 * Get the shared memory interface. Use once Open has completed. 41 * Get the shared memory interface. Use once Open has completed.
42 * Returns PP_OK on success. 42 * Returns PP_OK on success.
43 */ 43 */
44 int32_t (*GetSharedMemory)(PP_Resource audio, 44 int32_t (*GetSharedMemory)(PP_Resource audio,
45 int* shm_handle, 45 int* shm_handle,
46 uint32_t* shm_size); 46 uint32_t* shm_size);
47 }; 47 };
48 48
49 #endif /* PPAPI_C_PPB_AUDIO_TRUSTED_H_ */ 49 #endif /* PPAPI_C_PPB_AUDIO_TRUSTED_H_ */
50 50
OLDNEW
« no previous file with comments | « ppapi/c/ppb_audio_config.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698