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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioNode.h

Issue 2501863003: Support for AudioContextOptions latencyHint. (Closed)
Patch Set: Updates based on reviewer comments. Created 4 years 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: third_party/WebKit/Source/modules/webaudio/AudioNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioNode.h b/third_party/WebKit/Source/modules/webaudio/AudioNode.h
index 71adc2dc9b586fa158271080e7aa5482efd2d00f..bb7de30367e324ab768e6a815887d9b68cb63abc 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/AudioNode.h
@@ -167,8 +167,6 @@ class MODULES_EXPORT AudioHandler : public ThreadSafeRefCounted<AudioHandler> {
// The argument must be less than numberOfOutputs().
AudioNodeOutput& output(unsigned);
- virtual float sampleRate() const { return m_sampleRate; }
-
// processIfNecessary() is called by our output(s) when the rendering graph
// needs this AudioNode to process. This method ensures that the AudioNode
// will only process once per rendering time quantum even if it's called
@@ -262,7 +260,6 @@ class MODULES_EXPORT AudioHandler : public ThreadSafeRefCounted<AudioHandler> {
// See http://crbug.com/404527 for the detail.
UntracedMember<BaseAudioContext> m_context;
- float m_sampleRate;
Vector<std::unique_ptr<AudioNodeInput>> m_inputs;
Vector<std::unique_ptr<AudioNodeOutput>> m_outputs;

Powered by Google App Engine
This is Rietveld 408576698