• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
MIDISend problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Knob styles (was: AU host properties)
  • Next by Date: Re: #include <TargetConditionals.h> in CoreAudio.framework
  • Previous by thread: Re: #include <TargetConditionals.h> in CoreAudio.framework
  • Next by thread: Re: MIDISend problems
  • Index(es):
    • Date
    • Thread