• 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: MIDIDriverEnableSource
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIDIDriverEnableSource


  • Subject: Re: MIDIDriverEnableSource
  • From: Doug Wyatt <email@hidden>
  • Date: Thu, 19 Sep 2002 10:53:51 -0700

On Monday, Sep 16, 2002, at 01:25 US/Pacific, Andy wrote:
There is a bug in core-MIDI. The EndpointRef that's passed to EnableSource() is bad. I reported the bug last week at Radar and it's current status is "integrating" (whatever that means!)

It means it's been fixed, tested, and checked in. I can't make public statements about when it might make it into an update or release.

(thanks for writing the bug, Radar gets more of my attention than this list sometimes)

There is a way to work around this. You can check the version of the CoreMIDIServer framework and use it to decide whether you need to implement a hack based on knowing the nature of the bug, which is that you're getting passed a pointer to CoreMIDI's internal object instead of the opaque reference number it's supposed to be giving you (the MIDIEndpointRef). That MIDIEndpointRef is stored at a small offset from the pointer (look at 0, 4 or at most 8 I believe). I'd give you a more definitive answer but something else I have to caution you about is that that offset may very well be different in 10.1 vs. 10.2 due to gcc2.95/gcc3.1 differences -- if you go this route you're going to want to be careful about what you're doing and test on both 10.1 and 10.2.

Doug

--
Doug Wyatt
work: email@hidden (CoreAudio)
personal: email@hidden http://www.sonosphere.com
_______________________________________________
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: MIDIDriverEnableSource (From: Andy <email@hidden>)

  • Prev by Date: Re: Connecting AU's without an AUGraph
  • Next by Date: Re: Playing 2 or more audio data simultaneously
  • Previous by thread: Re: MIDIDriverEnableSource
  • Next by thread: Strange message: FWADisposeMIDIStream result = 1
  • Index(es):
    • Date
    • Thread