blob: 7f1aad84b5373b4132f06f512f0e210e2a32d97f [file] [log] [blame]
Tests ScriptProcessorNode.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS Exception was thrown when both numberOfInputChannels and numberOfOutputChannels are zero.
PASS Successfully created ScriptProcessorNode with numberOfInputChannels = 1 and numberOfOutputChannels = 0.
PASS Successfully created ScriptProcessorNode with numberOfInputChannels = 2 and numberOfOutputChannels = 0.
PASS Successfully created ScriptProcessorNode with numberOfInputChannels = 0 and numberOfOutputChannels = 1.
PASS Successfully created ScriptProcessorNode with numberOfInputChannels = 0 and numberOfOutputChannels = 2.
PASS Exception was thrown for illegal bufferSize.
PASS Successfully created ScriptProcessorNode with bufferSize = 0.
PASS Successfully created ScriptProcessorNode with bufferSize = 256.
PASS Successfully created ScriptProcessorNode with bufferSize = 512.
PASS Successfully created ScriptProcessorNode with bufferSize = 1024.
PASS Successfully created ScriptProcessorNode with bufferSize = 2048.
PASS Successfully created ScriptProcessorNode with bufferSize = 4096.
PASS Successfully created ScriptProcessorNode with bufferSize = 8192.
PASS Successfully created ScriptProcessorNode with bufferSize = 16384.
PASS onaudioprocess was called with correct data.
PASS successfullyParsed is true
TEST COMPLETE