diff options
author | Iain Merrick <husky@google.com> | 2010-11-01 12:19:54 +0000 |
---|---|---|
committer | Iain Merrick <husky@google.com> | 2010-11-03 10:21:10 +0000 |
commit | 731df977c0511bca2206b5f333555b1205ff1f43 (patch) | |
tree | 0e750b949b3f00a1ac11fda25d3c2de512f2b465 /webkit/glue/plugins/pepper_audio.h | |
parent | 5add15e10e7bb80512f2c597ca57221314abe577 (diff) | |
download | external_chromium-731df977c0511bca2206b5f333555b1205ff1f43.zip external_chromium-731df977c0511bca2206b5f333555b1205ff1f43.tar.gz external_chromium-731df977c0511bca2206b5f333555b1205ff1f43.tar.bz2 |
Merge Chromium at r63472 : Initial merge by git.
Change-Id: Ifb9ee821af006a5f2211e81471be93ae440a1f5a
Diffstat (limited to 'webkit/glue/plugins/pepper_audio.h')
-rw-r--r-- | webkit/glue/plugins/pepper_audio.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/webkit/glue/plugins/pepper_audio.h b/webkit/glue/plugins/pepper_audio.h index d9a9e86..196eac4 100644 --- a/webkit/glue/plugins/pepper_audio.h +++ b/webkit/glue/plugins/pepper_audio.h @@ -25,20 +25,21 @@ class PluginModule; class AudioConfig : public Resource { public: - AudioConfig(PluginModule* module, int32_t sample_rate, - int32_t sample_frame_count); - + AudioConfig(PluginModule* module, + PP_AudioSampleRate_Dev sample_rate, + uint32_t sample_frame_count); + size_t BufferSize(); static const PPB_AudioConfig_Dev* GetInterface(); - uint32_t sample_rate() { return sample_rate_; } + PP_AudioSampleRate_Dev sample_rate() { return sample_rate_; } uint32_t sample_frame_count() { return sample_frame_count_; } private: // Resource override. virtual AudioConfig* AsAudioConfig(); - int sample_rate_; - int sample_frame_count_; + PP_AudioSampleRate_Dev sample_rate_; + uint32_t sample_frame_count_; }; class Audio : public Resource, |