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

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

Issue 1214463003: Split "Online" and "Offline" AudioContext processing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Bring to ToT Created 5 years, 5 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
« no previous file with comments | « Source/modules/webaudio/AudioBuffer.cpp ('k') | Source/modules/webaudio/AudioBufferSourceNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AudioBufferSourceNode.h
diff --git a/Source/modules/webaudio/AudioBufferSourceNode.h b/Source/modules/webaudio/AudioBufferSourceNode.h
index f9b093e25afbf11d59e6e34b81592e7a025df94c..38266d8c3877cbfe9fd15c2c9b3480c7507277e1 100644
--- a/Source/modules/webaudio/AudioBufferSourceNode.h
+++ b/Source/modules/webaudio/AudioBufferSourceNode.h
@@ -37,7 +37,7 @@
namespace blink {
-class AudioContext;
+class AbstractAudioContext;
// 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).
@@ -156,7 +156,7 @@ private:
class AudioBufferSourceNode final : public AudioScheduledSourceNode {
DEFINE_WRAPPERTYPEINFO();
public:
- static AudioBufferSourceNode* create(AudioContext&, float sampleRate);
+ static AudioBufferSourceNode* create(AbstractAudioContext&, float sampleRate);
DECLARE_VIRTUAL_TRACE();
AudioBufferSourceHandler& audioBufferSourceHandler() const;
@@ -177,7 +177,7 @@ public:
void start(double when, double grainOffset, double grainDuration, ExceptionState&);
private:
- AudioBufferSourceNode(AudioContext&, float sampleRate);
+ AudioBufferSourceNode(AbstractAudioContext&, float sampleRate);
Member<AudioParam> m_playbackRate;
Member<AudioParam> m_detune;
« no previous file with comments | « Source/modules/webaudio/AudioBuffer.cpp ('k') | Source/modules/webaudio/AudioBufferSourceNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698