diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
commit | 32761a6cee1d0dee366b885b7b9c777e67885688 (patch) | |
tree | d6bec92bebfb216f4126356e55518842c2f476a1 /Source/WebCore/Modules/webaudio/OfflineAudioDestinationNode.h | |
parent | a4e969f4965059196ca948db781e52f7cfebf19e (diff) | |
download | WebKitGtk-tarball-32761a6cee1d0dee366b885b7b9c777e67885688.tar.gz |
webkitgtk-2.4.11webkitgtk-2.4.11
Diffstat (limited to 'Source/WebCore/Modules/webaudio/OfflineAudioDestinationNode.h')
-rw-r--r-- | Source/WebCore/Modules/webaudio/OfflineAudioDestinationNode.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/WebCore/Modules/webaudio/OfflineAudioDestinationNode.h b/Source/WebCore/Modules/webaudio/OfflineAudioDestinationNode.h index 21a2c3ff2..eb0ca426c 100644 --- a/Source/WebCore/Modules/webaudio/OfflineAudioDestinationNode.h +++ b/Source/WebCore/Modules/webaudio/OfflineAudioDestinationNode.h @@ -38,9 +38,9 @@ class AudioContext; class OfflineAudioDestinationNode : public AudioDestinationNode { public: - static Ref<OfflineAudioDestinationNode> create(AudioContext& context, AudioBuffer* renderTarget) + static PassRefPtr<OfflineAudioDestinationNode> create(AudioContext* context, AudioBuffer* renderTarget) { - return adoptRef(*new OfflineAudioDestinationNode(context, renderTarget)); + return adoptRef(new OfflineAudioDestinationNode(context, renderTarget)); } virtual ~OfflineAudioDestinationNode(); @@ -56,7 +56,7 @@ public: virtual float sampleRate() const override { return m_renderTarget->sampleRate(); } private: - OfflineAudioDestinationNode(AudioContext&, AudioBuffer* renderTarget); + OfflineAudioDestinationNode(AudioContext*, AudioBuffer* renderTarget); // This AudioNode renders into this AudioBuffer. RefPtr<AudioBuffer> m_renderTarget; @@ -71,6 +71,7 @@ private: void offlineRender(); // For completion callback on main thread. + static void notifyCompleteDispatch(void* userData); void notifyComplete(); }; |