Re: Audio Input with HALOutputUnit
Re: Audio Input with HALOutputUnit
- Subject: Re: Audio Input with HALOutputUnit
- From: James Coker <email@hidden>
- Date: Sun, 13 Jun 2004 11:38:57 -0600
On Jun 13, 2004, at 7:53 AM, Robert Grant wrote:
Having some trouble with Audio Input and the HALOutputUnit. I'm
activating all the channels I can find in the ChannelMap and it seems
like it's mostly working - certainly all the beta testers got the
input they were expecting on a variety of devices - but there are
some audio devices that aren't:
M-Audio Audiophile Delta 24/96 is returning an -10863
(CannotDoInCurrentContext) in the AudioUnitRender call.
MOTU 868 MkII is just giving input on channels 1 & 2 - the others are
all dead.
You mean the 828 MkII, right?
It works fine for me (in Numerology), but your description of only
seeing 2 channels
looks familiar. Looking at the code, I see that I check the number of
channels on
the stream format of the Input side of bus 1 of the HAL Output Unit to
see how many channels
the device has, then SET the stream format on bus 1 of the Output side
of the HAL Output
Unit to that number of channels. The default number of channels on the
Output side
of bus 1 was always 2 for the 828.
Cheers,
Jim
_______________________________________________
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.