Re: AU only works if manuf code is 'appl'
Re: AU only works if manuf code is 'appl'
- Subject: Re: AU only works if manuf code is 'appl'
- From: William Stewart <email@hidden>
- Date: Tue, 4 Sep 2007 17:28:25 -0700
Try printing out the graph - it should tell you more about the problem:
CAShow (myGraph);
On 02/09/2007, at 8:57 PM, Jason Staczek wrote:
I just burned a whole day on this one and I'm completely stumped.
I've written my own AU host which builds a simple graph of
AudioFilePlayer -> AU -> DefaultOutput.
I've also built several AU's to go in that middle node. The AU's
validate and work properly in AudioUnitHosting and CocoaAUHost.
However, using them in my own host always returns:
kAUGraphErr_CannotDoInCurrentContext
when I try to start the graph.
However (!), if I change the manufacturer on my AUs to 'appl', they
work just fine in my own host!
Literally, the only difference between working in my host and not is
the four-byte manufacturer code. Any ideas how this is possible?
To be clear, in my host, I am loading that middle node with a
CAComponentDescription specifying my own manuf code. That part always
works. It's just AUGraphStart() that fails. Also, I can run any of the
builtin Apple plugs or any of the Example plugs in my host just fine.
Thanks,
Jason Staczek
www.chromasound.net
_______________________________________________
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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