diff options
-rw-r--r-- | content/renderer/renderer_webaudiodevice_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/renderer/renderer_webaudiodevice_impl.h b/content/renderer/renderer_webaudiodevice_impl.h index c798663..e4643cd 100644 --- a/content/renderer/renderer_webaudiodevice_impl.h +++ b/content/renderer/renderer_webaudiodevice_impl.h @@ -24,6 +24,7 @@ class RendererWebAudioDeviceImpl : public WebKit::WebAudioDevice, // WebKit::WebAudioDevice implementation. virtual void start(); virtual void stop(); + virtual double sampleRate() { return 44100.0; } // AudioDevice::RenderCallback implementation. virtual void Render(const std::vector<float*>& audio_data, |