| Index: ppapi/cpp/audio.h
|
| diff --git a/ppapi/cpp/audio.h b/ppapi/cpp/audio.h
|
| index a07fcf58067d0470de2131213bc2f86710401a35..29a19f364f1fce5185180865b3b900fb05b12084 100644
|
| --- a/ppapi/cpp/audio.h
|
| +++ b/ppapi/cpp/audio.h
|
| @@ -41,19 +41,30 @@ class Audio : public Resource {
|
| ///
|
| /// @param[in] instance The instance with which this resource will be
|
| /// associated.
|
| - //
|
| /// @param[in] config An <code>AudioConfig</code> containing the audio config
|
| /// resource.
|
| - //
|
| /// @param[in] callback A <code>PPB_Audio_Callback</code> callback function
|
| /// that the browser calls when it needs more samples to play.
|
| - //
|
| /// @param[in] user_data A pointer to user data used in the callback function.
|
| Audio(const InstanceHandle& instance,
|
| const AudioConfig& config,
|
| PPB_Audio_Callback callback,
|
| void* user_data);
|
|
|
| + /// A constructor that creates an Audio resource.
|
| + ///
|
| + /// @param[in] instance The instance with which this resource will be
|
| + /// associated.
|
| + /// @param[in] config An <code>AudioConfig</code> containing the audio config
|
| + /// resource.
|
| + /// @param[in] callback A <code>PPB_Audio_Callback_1_0</code> callback
|
| + /// function that the browser calls when it needs more samples to play.
|
| + /// @param[in] user_data A pointer to user data used in the callback function.
|
| + Audio(const InstanceHandle& instance,
|
| + const AudioConfig& config,
|
| + PPB_Audio_Callback_1_0 callback,
|
| + void* user_data);
|
| +
|
| /// Getter function for returning the internal <code>PPB_AudioConfig</code>
|
| /// struct.
|
| ///
|
| @@ -79,6 +90,7 @@ class Audio : public Resource {
|
|
|
| private:
|
| AudioConfig config_;
|
| + bool use_1_0_interface_;
|
| };
|
|
|
| } // namespace pp
|
|
|