Hi ppl!

Here is my problem. I'm porting my game to Nokia Series 40 MIDP 2.0 and using Nokia Series 40 MIDP 2.0 SDK

as far as i know there is the same behaviour as at Motorolas: you can only have one midi prefetched at the same time. But i can't get even one sound prefetched!!!

using prefetch() hangs midlet...

here is my code:
///// loading: temp is byte array with midi
midiPlayers[i] = Manager.createPlayer(new ByteArrayInputStream(temp,0,temp.length),"audio/sp-midi");
midiPlayers[i].realize();
midiPlayers[i].setLoopCount(1);

///// playing
int current_midi = -1;
void playMidi(int indx)
{
if (!sound) return;
try
{
if (current_midi != indx)
{

if (current_midi != -1)
midiPlayers[current_midi].deallocate();
current_midi = indx;
// here is crush string

midiPlayers[indx].prefetch();

}
midiPlayers[indx].start();
}
catch (Exception e)
{
System.out.println("MIDI: "+e);
}
}

p.s. loading from file (not from bytestring) has the same effect.

thanks