• 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: MIDIObjectGetProperties returning err -50 on virtual MIDI port
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIDIObjectGetProperties returning err -50 on virtual MIDI port


  • Subject: Re: MIDIObjectGetProperties returning err -50 on virtual MIDI port
  • From: Michael Tyson <email@hidden>
  • Date: Wed, 09 Nov 2011 00:26:44 +0100

Ahh, lovely, thanks heaps, Doug! That'd be it!

On 8 Nov 2011, at 23:59, Doug Wyatt wrote:

> As horribly pernicious as error -50 is, it almost always means that a function argument is null and shouldn't be null, or, in the case of API's that use object identifiers (not to be confused with Objective C id's) instead of pointers (MIDIObjectRef is such a type), the ID doesn't point to a valid object.
>
> In this case, entity is probably NULL. Virtual endpoints don't have entities.
>
> You want the endpoint's name? Just ask for kMIDIPropertyDisplayName on the endpoint.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >MIDIObjectGetProperties returning err -50 on virtual MIDI port (From: Michael Tyson <email@hidden>)
 >Re: MIDIObjectGetProperties returning err -50 on virtual MIDI port (From: Doug Wyatt <email@hidden>)

  • Prev by Date: Re: MIDIObjectGetProperties returning err -50 on virtual MIDI port
  • Next by Date: Re: AUGraph with own render thread
  • Previous by thread: Re: MIDIObjectGetProperties returning err -50 on virtual MIDI port
  • Next by thread: AUHighShelfFilter cutoff frequency
  • Index(es):
    • Date
    • Thread