Open GoogleCodeExporter opened 8 years ago
Both problems happen on both the iPhone simulator (4.0 and 3.2) and the device
(4.0 only, iPod Touch).
Original comment by dr2...@gmail.com
on 7 Sep 2010 at 2:18
I think you may have an issue with how you are using the library.
If you are running
libdsmi_iphone *midiLib = [[libdsmi_iphone alloc] init];
[midiLib writeMIDIMessage:MIDI_CC MIDIChannel:0 withData1:1 withData2:counter++];
[midiLib release];
Within a loop, this is going to cause problems. You should only be
instantiating this class once, or at least only once every time you want to
restart a connection.
libdsmi_iphone *midiLib = [[libdsmi_iphone alloc] init];
for (int counter = 0; counter < 200; counter++) {
[midiLib writeMIDIMessage:MIDI_CC MIDIChannel:0 withData1:1 withData2:counter];
}
[midiLib release];
should work
Original comment by parknat...@gmail.com
on 29 Oct 2010 at 6:32
Original issue reported on code.google.com by
dr2...@gmail.com
on 7 Sep 2010 at 2:16