• 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
MIDI driver monitoring -- bad destination?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MIDI driver monitoring -- bad destination?


  • Subject: MIDI driver monitoring -- bad destination?
  • From: Kurt Revis <email@hidden>
  • Date: Thu, 7 Mar 2002 23:22:56 -0800

Has anyone tried using the monitoring function in a CoreMIDI driver (that is, implemented a Monitor() function on their driver)?

I am finding that the MIDIEndpointRef passed in as a destination is not a real MIDIEndpointRef that I can use in other CoreMIDI calls. I'm wondering if I'm doing something wrong, or if there is something else I need to do to get a real MIDIEndpointRef.

Here's the details: In my Monitor() function I get a destination like 0x67580. This function is running in a CoreMIDI work thread, so I can't do much of anything with the destination right there; most CoreMIDI calls return kMIDIWrongThread. But, if I pass that MIDIEndpointRef back to a function running in the main thread, trying to use it gives me a -50 error (paramErr). (For instance, if I call MIDIObjectGetIntegerProperty().)

Also, the destination given does not correspond to any of the MIDIEndpointRefs which are returned by MIDIGetDestination(). Those are all in a much different range of values, like 0x981000d.

Anyone have any ideas?

--
Kurt Revis
email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: MIDI driver monitoring -- bad destination?
      • From: Kurt Revis <email@hidden>
  • Prev by Date: Re: Opinions sought: AudioUnit Rendering
  • Next by Date: Re: AudioConverterConvertBuffer sample?
  • Previous by thread: Re: HAL headroom question
  • Next by thread: Re: MIDI driver monitoring -- bad destination?
  • Index(es):
    • Date
    • Thread