mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
use existing named constants b=890528
--HG-- extra : transplant_source : %C9%F5%23%A2%CC%D0%E5v%F4%7B%ED%93%0C%B6%D7%E3%CC%C5%B1%A1
This commit is contained in:
parent
761bd9f94a
commit
88dbfffb29
@ -23,7 +23,7 @@ function applySignal(buffer, offset) {
|
||||
var gTest = {
|
||||
numberOfChannels: 1,
|
||||
createGraph: function(context) {
|
||||
var buffer = context.createBuffer(1, 2048, context.sampleRate);
|
||||
var buffer = context.createBuffer(1, signalLength, context.sampleRate);
|
||||
applySignal(buffer, 0);
|
||||
|
||||
var source = context.createBufferSource();
|
||||
@ -39,7 +39,7 @@ var gTest = {
|
||||
return delay;
|
||||
},
|
||||
createExpectedBuffers: function(context) {
|
||||
var expectedBuffer = context.createBuffer(1, 4096, context.sampleRate);
|
||||
var expectedBuffer = context.createBuffer(1, outputLength, context.sampleRate);
|
||||
applySignal(expectedBuffer, delayLength);
|
||||
return expectedBuffer;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user