MIDISend problems
MIDISend problems
- Subject: MIDISend problems
- From: Fredrik Lundkvist <email@hidden>
- Date: Thu, 22 May 2003 19:10:21 +0200
Hi
MIDISend questions:
1) I made a test program sending to a USB interface connected in a loop.
I create in and outports, send messages and verify that all are
returned.
Often the first message sent is not returned. If I put a delay between
creating the
output port and starting to send messages it seems to work better.
Have I missed something? Is there a notification or a property I can
check before
I should start sending?
The same test with a virtual loop-back (another app) never fails.
2) I made another test sending lots of messages. It looks like the
MIDISend function
runs happily until a buffer is filled, then it waits until there is
room in the buffer,
blocking the calling thread.
Is there a way to check if the buffer is full, or get an error return
or a callback
instead of blocking the caller?
Regards
Fredrik Lundkvist
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.