SourceDataLine
. An application opening a synthesizer explicitly with this call has to close the synthesizer by calling {@link #close}. This is necessary to release system resources and allow applications to exit cleanly.
Note that some synthesizers, once closed, cannot be reopened. Attempts to reopen such a synthesizer will always result in a MidiUnavailableException
.
@param line which AudioSynthesizer
writes output audio into.If line
is null, then line from system default mixer is used.
@param info a Map
object containingproperties for additional configuration supported by synthesizer. If info
is null then default settings are used.
@throws MidiUnavailableException thrown if the synthesizer cannot beopened due to resource restrictions.
@throws SecurityException thrown if the synthesizer cannot beopened due to security restrictions.
@see #close
@see #isOpen
|
|