Error -10838 calling MIDIClientCreate
Error -10838 calling MIDIClientCreate
- Subject: Error -10838 calling MIDIClientCreate
- From: "Marco Hinic" <email@hidden>
- Date: Tue, 27 Sep 2005 15:04:56 +0200
We can reproduce an error -10838 calling MIDIClientCreate.
When our application switch to full screen we reinitialize our engine by
closing and reopening it, so we close and open the MIDI driver.
The funny thing is that if there is less than 10 seconds between the
MIDIClientDispose and MIDIClientCreate we have no problems and if the
application spend more than 10 seconds loading visuals we have this
error -10838...
I can reproduce this by inserting a sleep(10) before opening the MIDI driver.
Also I see this in the console:
2005-09-27 14:52:03.602 ArKaos Mach-O Debug[458] CFLog (0):
CFMessagePort: bootstrap_register(): failed 1103 (0x44f), port = 0x7587,
name = 'Apple MIDI Client 458'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2005-09-27 14:52:03.605 ArKaos Mach-O Debug[458] CFLog (99):
CFMessagePortCreateLocal(): failed to name Mach port (Apple MIDI Client 458)
We can solve this by moving the code that open the MIDI driver earlier
in our startup code but this is definitively strange.
I will fill a bug report for this on the apple bug reporter.
Any thoughts?
-----------------------------------------------------------
Marco Hinic (email@hidden)
ArKaos engine architect & CEO
http://www.arkaos.net
In cyberspace nobody knows you're a cat
-----------------------------------------------------------
_______________________________________________
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