Lines Matching full:code
2 * Use of this source code is governed by a BSD-style license that can be
7 * This file defines the <code>PPB_Audio</code> interface, which provides
17 * <code>PPB_Audio_Callback</code> defines the type of an audio callback
19 * Create() function in the <code>PPB_Audio</code> interface for
26 * <code>PPB_Audio.Create()</code>.
34 * The <code>PPB_Audio</code> interface contains pointers to several functions
38 * Please see descriptions for each <code>PPB_Audio</code> and
39 * <code>PPB_AudioConfig</code> function for more details. A C example using
40 * <code>PPB_Audio</code> and <code>PPB_AudioConfig</code> follows.
44 * @code
71 * callback, you should not call <code>PPB_Audio</code> functions. The
77 * specified in the <code>AudioConfig</code> documentation.
79 * @param[in] instance A <code>PP_Instance</code> identifying one instance
81 * @param[in] config A <code>PP_Resource</code> corresponding to an audio
83 * @param[in] audio_callback A <code>PPB_Audio_Callback</code> callback
87 * @return A <code>PP_Resource</code> containing the audio resource if
100 * @param[in] resource A <code>PP_Resource</code> corresponding to a generic
103 * @return A <code>PP_Bool</code> containing containing <code>PP_TRUE</code>
105 * <code>PP_FALSE</code>.
114 * @param[in] config A <code>PP_Resource</code> corresponding to an audio
117 * @return A <code>PP_Resource</code> containing the audio config resource if
127 * @param[in] config A <code>PP_Resource</code> corresponding to an audio
130 * @return A <code>PP_Bool</code> containing <code>PP_TRUE</code> if
131 * successful, otherwise <code>PP_FALSE</code>. Also returns
132 * <code>PP_TRUE</code> (and be a no-op) if called while playback is already
141 * @param[in] config A <code>PP_Resource</code> corresponding to an audio
144 * @return A <code>PP_Bool</code> containing <code>PP_TRUE</code> if
145 * successful, otherwise <code>PP_FALSE</code>. Also returns
146 * <code>PP_TRUE</code> (and is a no-op) if called while playback is already