I think I can't use streaming, as I would then have to know how long each tone should be played beforehand, which I don't. But the midi client looks exactly like what I'm looking for. Now, i tried
but to no avail.
midi->PlayNoteL(1, 60, duration, 64, 64) //play middle C on channel 1 for 1 second at average velocity.
gives me numBanks=1 and a -5 error (KErrNotSupported) on the GetBankIdL() line. Do I need the MultimediaDD capability? Some Nokia FAQ site stated, it would only be needed if i increased the priority. Do you have some hints or an example for me?
Thanks a lot,