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

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

Issue 1017183003: Make DOMTypedArray exported. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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/AudioBuffer.h
diff --git a/Source/modules/webaudio/AudioBuffer.h b/Source/modules/webaudio/AudioBuffer.h
index 92b92ade6beb6610ba73a0004126977dacbd0b90..14687cbc9e81ce76f1876bb0746eecfab796dd6b 100644
--- a/Source/modules/webaudio/AudioBuffer.h
+++ b/Source/modules/webaudio/AudioBuffer.h
@@ -66,6 +66,9 @@ public:
virtual v8::Handle<v8::Object> associateWithWrapper(v8::Isolate*, const WrapperTypeInfo*, v8::Handle<v8::Object> wrapper) override;
+private:
+ static PassRefPtr<DOMFloat32Array> createFloat32Array(size_t length);
Yuki 2015/03/24 11:12:56 nit: I'd slightly prefer createFloat32ArrayOrNull
tasak 2015/03/25 09:01:58 Done.
+
protected:
AudioBuffer(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate);
explicit AudioBuffer(AudioBus*);

Powered by Google App Engine
This is Rietveld 408576698