onAudioProcess property

Stream<AudioProcessingEvent> onAudioProcess

Get a Stream that fires events when AudioProcessingEvents occur. This particular stream is special in that it only allows one listener to a given stream. Converting the returned Stream asBroadcast will likely ruin the soft-real-time properties which which these events are fired and can be processed.

Implementation

Stream<AudioProcessingEvent> get onAudioProcess =>
      audioProcessEvent.forTarget(this);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-web_audio/ScriptProcessorNode/onAudioProcess.html