| Index: third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.h
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.h b/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.h
|
| index 65a6743a8735f02c9bceacd867699c71dd82d128..1aa09a97046d2d4f0c96a0e752069827e3798eba 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.h
|
| +++ b/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.h
|
| @@ -66,6 +66,9 @@ class AudioDestinationHandler : public AudioHandler, public AudioIOCallback {
|
| virtual void startRendering() = 0;
|
| virtual void stopRendering() = 0;
|
|
|
| + // Returns the rendering callback buffer size.
|
| + virtual size_t callbackBufferSize() const = 0;
|
| +
|
| protected:
|
| // LocalAudioInputProvider allows us to expose an AudioSourceProvider for
|
| // local/live audio input. If there is local/live audio input, we call set()
|
| @@ -112,6 +115,7 @@ class AudioDestinationNode : public AudioNode {
|
| AudioDestinationHandler& audioDestinationHandler() const;
|
|
|
| unsigned long maxChannelCount() const;
|
| + size_t callbackBufferSize() const { return handler().callbackBufferSize(); }
|
|
|
| protected:
|
| AudioDestinationNode(BaseAudioContext&);
|
|
|