Error Instantiating OutputUnit
Error Instantiating OutputUnit
- Subject: Error Instantiating OutputUnit
- From: Joe White <email@hidden>
- Date: Thu, 04 Jul 2013 16:41:06 +0100
Hi list,
I've (now regrettably) installed the Xcode 5 developer preview and found that code that once worked a few months ago is now failing.
Essentially when I try to instantiate any AudioComponent with 'AudioComponentInstanceNew()' I get an OSStatus return of -1
"Mac OS error -1 (dsNoExtsMacsBug): not a SysErr, just a placeholder"
I created a test project to that literally just gets the component description and tries to instantiate it. Here's the main code and the project itself:
I ran the project on a colleagues machine who hasn't updated and it built and ran fine, so my hunch is it has something to do with a change in the CoreAudio framework/headers? (Running the project in Xcode 4.6.3 on my machine equally doesn't work).
In the Additional Downloads section
https://developer.apple.com/downloads/index.action on the developer site I noticed there's a 'Audio Tools for Xcode 5 Developer Preview - June 2013' which states that it includes the CoreAudios headers but annoyingly only AULab and HALLab are present in the download, I'm not sure if that's a mistake or the headers are to be found elsewhere.
If anyone has any ideas on where I'm going wrong I'd love to hear as I'm pretty stumped right now. I not sure if I can 'revert' back to just Xcode 4 only or if I'm missing some updated files from somewhere.
(System info: MBP running OS X 10.8.4, Xcode 4.6.3 and Xcode 5-DP2)
Many thanks,
Joe
_______________________________________________
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