MidiOutputThreadImplementation.setStreamFinishedCallback

Set this to customize what happens when a stream finishes.

You can call suspend, loadStream, or exit to override the default behavior of looping the song. Or, return without calling anything to let it automatically start back over.

class MidiOutputThreadImplementation
shared
void
setStreamFinishedCallback
(
void delegate
()
callback
)

Meta