ScriptProcessorNode createScriptProcessor([int bufferSize, int numberOfInputChannels, int numberOfOutputChannels ])

Source

ScriptProcessorNode createScriptProcessor(
    [int bufferSize, int numberOfInputChannels, int numberOfOutputChannels]) {
  if (numberOfOutputChannels != null) {
    return _blink.BlinkAudioContext.instance
        .createScriptProcessor_Callback_3_(
            this, bufferSize, numberOfInputChannels, numberOfOutputChannels);
  }
  if (numberOfInputChannels != null) {
    return _blink.BlinkAudioContext.instance
        .createScriptProcessor_Callback_2_(
            this, bufferSize, numberOfInputChannels);
  }
  if (bufferSize != null) {
    return _blink.BlinkAudioContext.instance
        .createScriptProcessor_Callback_1_(this, bufferSize);
  }
  return _blink.BlinkAudioContext.instance
      .createScriptProcessor_Callback_0_(this);
}