• 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
Strange problem with MidiClientCreate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange problem with MidiClientCreate


  • Subject: Strange problem with MidiClientCreate
  • From: Pier <email@hidden>
  • Date: Mon, 16 Sep 2013 13:01:54 +0800

In my code, I call

ret = MIDIClientCreate(cname, NULL, NULL, &mclient);

for which the first time is returns ret == 0 , which is ok. 

I then call 

ret = MIDIClientDispose(data->mclient); 

for which mclient is the same mclient instance as the one being created. ret is 0. 

I then want to re-detect the midi devices, so I create the client again and subsequently run through the list of midi sources. However, on creating the client again using : 

ret = MIDIClientCreate(cname, NULL, NULL, &mclient);

It gives me ret == -50 , which is a (paramErr): error in user parameter list

What is causing this? Help greatly appreciated. 

Thanks. 

Pier.



 _______________________________________________
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

  • Follow-Ups:
    • Re: Strange problem with MidiClientCreate
      • From: Pier <email@hidden>
  • Prev by Date: Hacking ZIP created on Windows for Mac OS X permissions
  • Next by Date: Re: Strange problem with MidiClientCreate
  • Previous by thread: Re: Hacking ZIP created on Windows for Mac OS X permissions
  • Next by thread: Re: Strange problem with MidiClientCreate
  • Index(es):
    • Date
    • Thread