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

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

Issue 1865583002: Implement BaseAudioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h b/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h
index 8b355ba1af854166780918560ec63510c27eb731..a3bc24ac3114102077e649a74a27350d882b51fc 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h
@@ -37,7 +37,7 @@
namespace blink {
-class AbstractAudioContext;
+class BaseAudioContext;
// AudioBufferSourceNode is an AudioNode representing an audio source from an in-memory audio asset represented by an AudioBuffer.
// It generally will be used for short sounds which require a high degree of scheduling flexibility (can playback in rhythmically perfect ways).
@@ -141,7 +141,7 @@ private:
class AudioBufferSourceNode final : public AudioScheduledSourceNode {
DEFINE_WRAPPERTYPEINFO();
public:
- static AudioBufferSourceNode* create(AbstractAudioContext&, float sampleRate);
+ static AudioBufferSourceNode* create(BaseAudioContext&, float sampleRate);
DECLARE_VIRTUAL_TRACE();
AudioBufferSourceHandler& audioBufferSourceHandler() const;
@@ -162,7 +162,7 @@ public:
void start(double when, double grainOffset, double grainDuration, ExceptionState&);
private:
- AudioBufferSourceNode(AbstractAudioContext&, float sampleRate);
+ AudioBufferSourceNode(BaseAudioContext&, float sampleRate);
Member<AudioParam> m_playbackRate;
Member<AudioParam> m_detune;

Powered by Google App Engine
This is Rietveld 408576698