зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1665964 [wpt PR 25627] - Fix capitalization of AudioBuffer in webaudio/the-audio-api/processin…, a=testonly
Automatic update from web-platform-tests Fix capitalization of AudioBuffer in webaudio/the-audio-api/processing-model/delay-time-clamping.html (#25627) Fix capitalization of AudioBuffer: Audiobuffer -> AudioBuffer. Co-authored-by: Chris Dumez <cdumez@apple.com> -- wpt-commits: fef5a8adaaea8f8cf167a12dc42aab761ce9848f wpt-pr: 25627
This commit is contained in:
Родитель
fc991a9722
Коммит
238d8ab1fb
|
@ -9,7 +9,7 @@
|
|||
<script>
|
||||
function doTest() {
|
||||
let off = new OfflineAudioContext(1, 512, 48000);
|
||||
let b = new Audiobuffer({sampleRate: off.sampleRate, length: 1});
|
||||
let b = new AudioBuffer({sampleRate: off.sampleRate, length: 1});
|
||||
b.getChannelData(0)[0] = 1;
|
||||
let impulse = new AudioBufferSourceNode(off, {buffer: b});
|
||||
impulse.start(0);
|
||||
|
|
Загрузка…
Ссылка в новой задаче