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:
Karl Tomlinson 2013-09-02 16:53:15 +12:00
parent 761bd9f94a
commit 88dbfffb29

View File

@ -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;
},