Index: ppapi/cpp/audio.h |
diff --git a/ppapi/cpp/audio.h b/ppapi/cpp/audio.h |
index a07fcf58067d0470de2131213bc2f86710401a35..dd07b7a4703c053e00e7789923323c2aa11a3de5 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. |
/// |