Re: Input AudioUnit?
Re: Input AudioUnit?
- Subject: Re: Input AudioUnit?
- From: Brad Ford <email@hidden>
- Date: Wed, 14 Jan 2004 09:29:25 -0800
Hugues,
You want the HAL AudioOutputUnit.
ComponentDescription cd = {kAudioUnitType_Output,
kAudioUnitSubType_HALOutput, kAudioUnitManufacturer_Apple, 0, 0};
Component c = FindNextComponent(nil, &cd);
"But I want input, not output," you say. And I reply, "It was named an
output unit before it could do input. Now it should be thought of as
an AudioInputOrOutputOrBothUnit."
When opened, it's configured for output only. You have to set
kAudioOutputUnitProperty_EnableIO to enable the input side (or disable
the output side). Search the archives of this list. This has been
discussed before.
-Brad
On Jan 14, 2004, at 12:50 AM, Hugues Pisapia wrote:
Hi there,
Well... this is maybe a stupid question, but I prefer to ask it anyway:
I am not able to find an AU to get audio data from a device. Does it
exist?
Thanks,
Hugues
_______________________________________________
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.