Chromium Code Reviews| 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 30eb3f96250f62172187488c708a8874394ef224..9e53b4cbbb4f1c5c49a0fd3436b124d325096e2e 100644 |
| --- a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h |
| +++ b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h |
| @@ -59,7 +59,8 @@ class OfflineAudioDestinationHandler final : public AudioDestinationHandler { |
| void stopRendering() override; |
| unsigned long maxChannelCount() const override; |
| - float sampleRate() const override { return m_renderTarget->sampleRate(); } |
| + double sampleRate() const override { return m_renderTarget->sampleRate(); } |
| + int framesPerBuffer() const override { return 0; } |
|
o1ka
2016/12/02 12:02:13
Is it never expected to be called? DCHECK?
hongchan
2016/12/02 17:40:12
Or NOTREACHED().
Andrew MacPherson
2016/12/05 14:12:53
Done.
|
| size_t renderQuantumFrames() const { |
| return AudioUtilities::kRenderQuantumFrames; |