Index: ppapi/cpp/audio_frame.h |
diff --git a/ppapi/cpp/audio_frame.h b/ppapi/cpp/audio_frame.h |
index 32d55956e67616d0f627799392e98f63f5e15c10..485d814dec0d2654a73bc6b544f0a7b5f16fca6d 100644 |
--- a/ppapi/cpp/audio_frame.h |
+++ b/ppapi/cpp/audio_frame.h |
@@ -47,10 +47,15 @@ class AudioFrame : public Resource { |
/// audio stream. |
void SetTimestamp(PP_TimeDelta timestamp); |
+ /// Gets the sample rate of the audio frame. |
+ /// |
+ /// @return The sample rate of the audio frame. |
+ PP_AudioFrame_SampleRate GetSampleRate() const; |
+ |
/// Gets the sample size of the audio frame in bytes. |
/// |
/// @return The sample size of the audio frame in bytes. |
- uint32_t GetSampleSize() const; |
+ PP_AudioFrame_SampleSize GetSampleSize() const; |
/// Gets the number of channels in the audio frame. |
/// |