| Index: ppapi/c/ppb_audio_frame.h
|
| diff --git a/ppapi/c/ppb_audio_frame.h b/ppapi/c/ppb_audio_frame.h
|
| index 3f2b2a34ebf10a286d0c3b91982f32f803ff8219..e17a964f34eb32588a761033370bdddb39be1e47 100644
|
| --- a/ppapi/c/ppb_audio_frame.h
|
| +++ b/ppapi/c/ppb_audio_frame.h
|
| @@ -3,7 +3,7 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -/* From ppb_audio_frame.idl modified Thu Jan 9 14:39:24 2014. */
|
| +/* From ppb_audio_frame.idl modified Thu Jan 16 15:39:03 2014. */
|
|
|
| #ifndef PPAPI_C_PPB_AUDIO_FRAME_H_
|
| #define PPAPI_C_PPB_AUDIO_FRAME_H_
|
| @@ -13,6 +13,7 @@
|
| #include "ppapi/c/pp_resource.h"
|
| #include "ppapi/c/pp_stdint.h"
|
| #include "ppapi/c/pp_time.h"
|
| +#include "ppapi/c/ppb_audio_config.h"
|
|
|
| #define PPB_AUDIOFRAME_INTERFACE_0_1 "PPB_AudioFrame;0.1" /* dev */
|
| /**
|
| @@ -56,6 +57,15 @@ struct PPB_AudioFrame_0_1 { /* dev */
|
| */
|
| void (*SetTimestamp)(PP_Resource frame, PP_TimeDelta timestamp);
|
| /**
|
| + * Gets the sample rate of the audio frame.
|
| + *
|
| + * @param[in] frame A <code>PP_Resource</code> corresponding to an audio frame
|
| + * resource.
|
| + *
|
| + * @return The sample rate of the audio frame.
|
| + */
|
| + PP_AudioSampleRate (*GetSampleRate)(PP_Resource frame);
|
| + /**
|
| * Gets the sample size of the audio frame.
|
| *
|
| * @param[in] frame A <code>PP_Resource</code> corresponding to an audio frame
|
|
|