Re: IO Test sample code
Re: IO Test sample code
- Subject: Re: IO Test sample code
- From: Art Gillespie <email@hidden>
- Date: Wed, 12 Nov 2003 16:25:07 -0500
- Mail-followup-to: CoreAudio API <email@hidden>
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.