• 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
Re: Stuck MIDI notes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stuck MIDI notes


  • Subject: Re: Stuck MIDI notes
  • From: Chris Rogers <email@hidden>
  • Date: Wed, 30 Oct 2002 14:08:28 -0800

Robert,

It's interesting that you're bringing this issue up. In general for
MusicDevices it should be possible. If you're using the DLSMusicDevice
as shipping in Jaguar then there is a problem with thread-safety
(which we've already fixed for the next update) which could result
in dropped notes or even occasional crashes. It's really an issue
with MusicDeviceMIDIEvent() being called from a different thread than
the rendering thread (HAL thread in this case). As I said, we've already
fixed it and you can work around the Jaguar version today by calling
MusicDeviceMIDIEvent() from the pre-render notification of the
DLSMusicDevice (by reading from your own queued events...)

Chris Rogers
Core Audio
Apple Computer


So here's the real question perhaps:

Can I call MusicDeviceMIDIEvent() from the MIDI receive proc thread even though the
MusicDevice was created in the main UI thread?

I'm hoping the answer is yes :-)

Robert.
_______________________________________________
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.

References: 
 >Re: Stuck MIDI notes (From: Robert Grant <email@hidden>)

  • Prev by Date: Re: Stuck MIDI notes
  • Next by Date: Re: Stuck MIDI notes
  • Previous by thread: Re: Stuck MIDI notes
  • Next by thread: Re: Stuck MIDI notes
  • Index(es):
    • Date
    • Thread