| Index: ppapi/c/ppb_audio.h
|
| ===================================================================
|
| --- ppapi/c/ppb_audio.h (revision 97869)
|
| +++ ppapi/c/ppb_audio.h (working copy)
|
| @@ -3,7 +3,7 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -/* From ppb_audio.idl modified Wed Aug 17 11:16:34 2011. */
|
| +/* From ppb_audio.idl modified Tue Aug 23 10:26:15 2011. */
|
|
|
| #ifndef PPAPI_C_PPB_AUDIO_H_
|
| #define PPAPI_C_PPB_AUDIO_H_
|
| @@ -52,10 +52,12 @@
|
| * <a href="/chrome/nativeclient/docs/audio.html">Pepper
|
| * Audio API</a> for information on using this interface.
|
| * Please see descriptions for each <code>PPB_Audio</code> and
|
| - * <code>PPB_AudioConfig</code> function for more details.
|
| + * <code>PPB_AudioConfig</code> function for more details. A C example using
|
| + * <code>PPB_Audio</code> and <code>PPB_AudioConfig</code> follows.
|
| *
|
| - * A C example using PPB_Audio and PPB_AudioConfig:
|
| - * @code
|
| + * <strong>Example: </strong>
|
| + *
|
| + * <code>
|
| * void audio_callback(void* sample_buffer,
|
| * uint32_t buffer_size_in_bytes,
|
| * void* user_data) {
|
| @@ -74,7 +76,7 @@
|
| * audio_interface->StartPlayback(pp_audio);
|
| *
|
| * ...audio_callback() will now be periodically invoked on a seperate thread...
|
| - * @endcode
|
| + * </code>
|
| */
|
| struct PPB_Audio {
|
| /**
|
|
|