Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2424)

Unified Diff: Source/modules/webaudio/ConvolverNode.h

Issue 200543005: ConvolverNode.buffer sample rate must match AudioContext rate (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/webaudio/ConvolverNode.h
diff --git a/Source/modules/webaudio/ConvolverNode.h b/Source/modules/webaudio/ConvolverNode.h
index 083b9f2e39c58e03d38c83a6d2d066f2b2bba312..e135a0187b296646ebadae9a6d51813bee7a4013 100644
--- a/Source/modules/webaudio/ConvolverNode.h
+++ b/Source/modules/webaudio/ConvolverNode.h
@@ -33,6 +33,7 @@
namespace WebCore {
class AudioBuffer;
+class ExceptionState;
class Reverb;
class ConvolverNode FINAL : public AudioNode {
@@ -50,7 +51,7 @@ public:
virtual void uninitialize() OVERRIDE;
// Impulse responses
- void setBuffer(AudioBuffer*);
+ void setBuffer(AudioBuffer*, ExceptionState&);
AudioBuffer* buffer();
bool normalize() const { return m_normalize; }

Powered by Google App Engine
This is Rietveld 408576698