Re: IO Test sample code
Re: IO Test sample code
- Subject: Re: IO Test sample code
- From: Robert Grant <email@hidden>
- Date: Wed, 12 Nov 2003 17:21:01 -0500
Hey Art,
Glad somebody bit :-)
Word from Brad is to switch to using the HAL output unit (not sure why
as the docs seem to point to this being a common OutputUnit feature)
which makes all the procs return '0' but then the graph crashes rather
badly once the graph is started...
(BTW congrats on the props from BT on his new CD ;-))
Robert.
On Nov 12, 2003, at 4:25 PM, Art Gillespie wrote:
Robert,
AudioUnitGetPropertyInfo returns -10879 - InvalidProperty for
kAudioOutputUnitProperty_EnableIO (same error as your call to
SetProperty).
So my first guess was that Apple's default output unit didn't support
this feature.
However, calling AudioUnitGetProperty(kAudioOutputUnit_HasIO) returns
'1' in the data parameter for both input and output, indicating that
it's already enabled.
Finally, the AUGraphInitialize returns kAudioUnitErr_InvalidElement
when
you specify element 1 as the source for the 'loopback' (as you had it
originally), but it returns kAudioUnitErr_FormatNotSupported when you
use element 0. I have no idea what all this means, but now my
curiosity
is piqued (feedback loops are a soft spot for me :-)).
Best,
Art
0xBA
On Wed, Nov 12, 2003 at 11:53:50AM -0500, Robert Grant wrote:
In the spirit of Art's drum machine - but unfortunately less
successful
- here's a little app that tries to wire up the DefaultOutputUnit's
new
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.