Lost midi packages
Lost midi packages
- Subject: Lost midi packages
- From: "Jacob Ole Juul Kolding" <email@hidden>
- Date: Sun, 8 Apr 2007 05:03:34 +0200
Hello
I have a problem with a midi app.
My packet read callback function reports all events from my midi keyboard correctly.
This function stores the packages in a std::vector like this:
packet = pktlist->packet
while(pktlist->numPackets){
packages.push_back(packet);
packet = MIDIPacketNext(packet);
...
}
But in my main app where I read this vector i sometimes loose packages.
I read like this:
while(packages.size()){
...
packages.pop_back();
}
Any ideas?
/Jacob Kolding
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden