Menu

#36 MidiSynth class: wrong comparison statement

open
nobody
midi io (11)
5
2013-02-07
2009-10-22
Anonymous
No

file MidiSynth.java
created: Mon May 07 11:21:30 2001
author Mark Elston (enhanced by Andrew Brown)
i think in public void stop()
there is a bad comparison, and it throws an exception when executed.

the comparison is
if (m_sequencer != null & m_sequencer.isOpen()) {
i think must be changed in
if (m_sequencer != null && m_sequencer.isOpen()) {

bye!

Discussion


Log in to post a comment.

MongoDB Logo MongoDB