Index: third_party/WebKit/Source/modules/webaudio/ConvolverNode.h |
diff --git a/third_party/WebKit/Source/modules/webaudio/ConvolverNode.h b/third_party/WebKit/Source/modules/webaudio/ConvolverNode.h |
index ba221ab31a1e49989a9ba11510657337fab2a120..ab77e47a35562ee63e07c7391630e9fb1414748e 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/ConvolverNode.h |
+++ b/third_party/WebKit/Source/modules/webaudio/ConvolverNode.h |
@@ -65,6 +65,12 @@ class MODULES_EXPORT ConvolverHandler final : public AudioHandler { |
double tailTime() const override; |
double latencyTime() const override; |
+ // Determine how many output channels to use from the number of |
+ // input channels and the number of channels in the impulse response |
+ // buffer. |
+ unsigned computeNumberOfOutputChannels(unsigned inputChannels, |
+ unsigned responseChannels) const; |
+ |
std::unique_ptr<Reverb> m_reverb; |
// This Persistent doesn't make a reference cycle including the owner |
// ConvolverNode. |