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

Side by Side Diff: ppapi/c/ppb_audio_config.h

Issue 9569032: Fixing paths so that they pick up the variable for the pepper directory based on version number. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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/api/ppb_audio_config.idl ('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) 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 5
6 /* From ppb_audio_config.idl modified Wed Feb 22 14:49:51 2012. */ 6 /* From ppb_audio_config.idl modified Thu Mar 1 14:51:38 2012. */
7 7
8 #ifndef PPAPI_C_PPB_AUDIO_CONFIG_H_ 8 #ifndef PPAPI_C_PPB_AUDIO_CONFIG_H_
9 #define PPAPI_C_PPB_AUDIO_CONFIG_H_ 9 #define PPAPI_C_PPB_AUDIO_CONFIG_H_
10 10
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_instance.h" 12 #include "ppapi/c/pp_instance.h"
13 #include "ppapi/c/pp_macros.h" 13 #include "ppapi/c/pp_macros.h"
14 #include "ppapi/c/pp_resource.h" 14 #include "ppapi/c/pp_resource.h"
15 #include "ppapi/c/pp_stdint.h" 15 #include "ppapi/c/pp_stdint.h"
16 16
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 /** 59 /**
60 * @addtogroup Interfaces 60 * @addtogroup Interfaces
61 * @{ 61 * @{
62 */ 62 */
63 /** 63 /**
64 * The <code>PPB_AudioConfig</code> interface contains pointers to several 64 * The <code>PPB_AudioConfig</code> interface contains pointers to several
65 * functions for establishing your audio configuration within the browser. 65 * functions for establishing your audio configuration within the browser.
66 * This interface only supports 16-bit stereo output. 66 * This interface only supports 16-bit stereo output.
67 * 67 *
68 * Refer to the 68 * Refer to the
69 * <a href="/chrome/nativeclient/docs/audio.html">Pepper 69 * <a href="/native-client/{{pepperversion}}/devguide/coding/audio">Pepper
70 * Audio API</a> for information on using this interface. 70 * Audio API</a> for information on using this interface.
71 */ 71 */
72 struct PPB_AudioConfig_1_1 { 72 struct PPB_AudioConfig_1_1 {
73 /** 73 /**
74 * CreateStereo16bit() creates a 16 bit audio configuration resource. The 74 * CreateStereo16bit() creates a 16 bit audio configuration resource. The
75 * <code>sample_rate</code> should be the result of calling 75 * <code>sample_rate</code> should be the result of calling
76 * <code>RecommendSampleRate</code> and <code>sample_frame_count</code> should 76 * <code>RecommendSampleRate</code> and <code>sample_frame_count</code> should
77 * be the result of calling <code>RecommendSampleFrameCount</code>. If the 77 * be the result of calling <code>RecommendSampleFrameCount</code>. If the
78 * sample frame count or bit rate isn't supported, this function will fail and 78 * sample frame count or bit rate isn't supported, this function will fail and
79 * return a null resource. 79 * return a null resource.
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 PP_Bool (*IsAudioConfig)(PP_Resource resource); 201 PP_Bool (*IsAudioConfig)(PP_Resource resource);
202 PP_AudioSampleRate (*GetSampleRate)(PP_Resource config); 202 PP_AudioSampleRate (*GetSampleRate)(PP_Resource config);
203 uint32_t (*GetSampleFrameCount)(PP_Resource config); 203 uint32_t (*GetSampleFrameCount)(PP_Resource config);
204 }; 204 };
205 /** 205 /**
206 * @} 206 * @}
207 */ 207 */
208 208
209 #endif /* PPAPI_C_PPB_AUDIO_CONFIG_H_ */ 209 #endif /* PPAPI_C_PPB_AUDIO_CONFIG_H_ */
210 210
OLDNEW
« no previous file with comments | « ppapi/api/ppb_audio_config.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698