blob: ed4bf82f760d14ecc85fa772b6e29540d36a8d90 [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 = 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