Re: MIDI iPad1 vs iPad2
Re: MIDI iPad1 vs iPad2
- Subject: Re: MIDI iPad1 vs iPad2
- From: matt ingalls <email@hidden>
- Date: Wed, 05 Oct 2011 17:27:11 -0700
great! THANKS DOUG!On Oct 5, 2011, at 4:28 PM, Doug Wyatt wrote: 0 is the normal answer unless you or some other app has invoked [[MIDINetworkSession defaultSession] enabled] = YES;
On Oct 5, 2011, at 15:48 , matt ingalls wrote: hi,
i just discovered some of my MIDI code doesn't work on iPad2:
OSErr err = noErr; err = MIDIClientCreate(mName, NULL, NULL, &mMIDIClient); if (err == noErr) { err = MIDIOutputPortCreate(mMIDIClient, CFSTR("My Output"), &mMIDIOutPort); if (err == noErr) std::cout << MIDIGetNumberOfDestinations(); }
on iPad1, this is successful (no errors. outputs '1') but NOT on iPad2 (no errors. outputs '0')
anybody know why this would be happening?
i also noticed that when i launch GarageBand on both iPads, the iPad1 shows up on my Mac's Audio MIDI Network, but the iPad2 does not.
|
_______________________________________________
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