Removes a controller event listener's interest in one or more
types of controller event. The
controllers
argument
is an array of MIDI numbers corresponding to the controllers for
which the listener should no longer receive change notifications.
To completely remove this listener from the list of registered
listeners, pass in
null
for
controllers
.
The returned array contains the MIDI controller
numbers for which the listener will now receive events. The
array has a length of 0 if the listener will not receive
change notifications for any controllers.
Returns:
the numbers of all the MIDI controllers whose changes will
now be reported to the specified listener
Parameters:
-
listener - old listener
-
controllers - the MIDI controller numbers for which change
notification should be cancelled, or
null
to cancel
for all controllers
See Also:
Sequencer.addControllerEventListener(javax.sound.midi.ControllerEventListener, int[])
,