Re: Input AudioUnit?
Re: Input AudioUnit?
- Subject: Re: Input AudioUnit?
- From: Robert Grant <email@hidden>
- Date: Wed, 14 Jan 2004 15:31:23 -0500
Hi Brad,
Can you post some code about how to configure the HALOutputUnit for
input - I'm trying to get it working but I'm getting nowhere.
Also can you tell us the method of determining whether to use
AudioUnitRender or the SetInputCallback approach?
Thanks,
Robert.
On Jan 14, 2004, at 12:29 PM, Brad Ford wrote:
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.
_______________________________________________
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.