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

Side by Side Diff: ppapi/c/ppb_audio_config.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.h ('k') | ppapi/c/trusted/ppb_audio_trusted.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) 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_CONFIG_H_ 5 #ifndef PPAPI_C_PPB_AUDIO_CONFIG_H_
6 #define PPAPI_C_PPB_AUDIO_CONFIG_H_ 6 #define PPAPI_C_PPB_AUDIO_CONFIG_H_
7 7
8 #include "ppapi/c/pp_bool.h" 8 #include "ppapi/c/pp_bool.h"
9 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/c/pp_macros.h" 10 #include "ppapi/c/pp_macros.h"
11 #include "ppapi/c/pp_resource.h" 11 #include "ppapi/c/pp_resource.h"
12 #include "ppapi/c/pp_stdint.h" 12 #include "ppapi/c/pp_stdint.h"
13 13
14 #define PPB_AUDIO_CONFIG_INTERFACE "PPB_AudioConfig;1.0" 14 #define PPB_AUDIO_CONFIG_INTERFACE "PPB_AudioConfig;0.5"
15 15
16 enum { 16 enum {
17 PP_AUDIOMINSAMPLEFRAMECOUNT = 64, 17 PP_AUDIOMINSAMPLEFRAMECOUNT = 64,
18 PP_AUDIOMAXSAMPLEFRAMECOUNT = 32768 18 PP_AUDIOMAXSAMPLEFRAMECOUNT = 32768
19 }; 19 };
20 20
21 typedef enum { 21 typedef enum {
22 PP_AUDIOSAMPLERATE_NONE = 0, 22 PP_AUDIOSAMPLERATE_NONE = 0,
23 PP_AUDIOSAMPLERATE_44100 = 44100, 23 PP_AUDIOSAMPLERATE_44100 = 44100,
24 PP_AUDIOSAMPLERATE_48000 = 48000 24 PP_AUDIOSAMPLERATE_48000 = 48000
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 /** 89 /**
90 * Returns the sample frame count for the given AudioConfig resource. If the 90 * Returns the sample frame count for the given AudioConfig resource. If the
91 * resource is invalid, this will return 0. See RecommendSampleFrameCount for 91 * resource is invalid, this will return 0. See RecommendSampleFrameCount for
92 * more on sample frame counts. 92 * more on sample frame counts.
93 */ 93 */
94 uint32_t (*GetSampleFrameCount)(PP_Resource config); 94 uint32_t (*GetSampleFrameCount)(PP_Resource config);
95 }; 95 };
96 96
97 #endif /* PPAPI_C_PPB_AUDIO_CONFIG_H_ */ 97 #endif /* PPAPI_C_PPB_AUDIO_CONFIG_H_ */
98 98
OLDNEW
« no previous file with comments | « ppapi/c/ppb_audio.h ('k') | ppapi/c/trusted/ppb_audio_trusted.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698