I have used the current audio unit tutorial (1) with a bit of tinkering to 
create an Xcode project (2) that successfully builds a component but I can’t 
get it to validate. AUVal gives me error -10878. (3)

I started in Xcode from the 'OS X > System Plug-in > Generic C++ plugin’ 
template and copied all the methods in the tutorial for making the sample audio 
unit (TremoloUnit) as well as a couple of methods that were in the downloadable 
sample audio unit that seemed necessary to get it to build - essentially trying 
to mimic the mythical audio unit template that the guide refers to, but which 
is no longer available in Xcode and has been unavailable for some time.

I think I have ended up implementing a version of every method in the sample 
audio unit so I’m now stuck as to why it doesn’t validate. I understand that 
the DSP code may be totally useless (it’s only meant to be a gain plugin) but 
the thing won’t even open.

Any suggestions?

Even if this project isn’t salvageable in its current form, is there another 
way I can go about starting to write audio units?

(1) 
https://developer.apple.com/library/mac/documentation/MusicAudio/Conceptual/AudioUnitProgrammingGuide/TheAudioUnit/TheAudioUnit.html#//apple_ref/doc/uid/TP40003278-CH12-SW1
 
<https://developer.apple.com/library/mac/documentation/MusicAudio/Conceptual/AudioUnitProgrammingGuide/TheAudioUnit/TheAudioUnit.html#//apple_ref/doc/uid/TP40003278-CH12-SW1>

(2) https://github.com/farhanmannan/hardgainer 
<https://github.com/farhanmannan/hardgainer>

(3) https://gist.github.com/farhanmannan/d5a83910d0b2f18840c1 
<https://gist.github.com/farhanmannan/d5a83910d0b2f18840c1>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to