Index: third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h |
diff --git a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h |
index 64cbbb3aacaed9be593c41f26be3f4d0fd06664e..d8073ce6820eb03df3cf11ed57c38d7ba89f70cf 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h |
+++ b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h |
@@ -63,7 +63,11 @@ class OfflineAudioDestinationHandler final : public AudioDestinationHandler { |
// called. |
size_t callbackBufferSize() const override; |
- float sampleRate() const override { return m_renderTarget->sampleRate(); } |
+ double sampleRate() const override { return m_renderTarget->sampleRate(); } |
+ int framesPerBuffer() const override { |
+ NOTREACHED(); |
+ return 0; |
+ } |
size_t renderQuantumFrames() const { |
return AudioUtilities::kRenderQuantumFrames; |