Re: >2 channel input now working with AUHAL!
Re: >2 channel input now working with AUHAL!
- Subject: Re: >2 channel input now working with AUHAL!
- From: William Stewart <email@hidden>
- Date: Fri, 9 Jul 2004 14:37:16 -0700
On 09/07/2004, at 1:20 PM, Robert Grant wrote:
>
OK,
>
>
So Airy and I took another stab at it after using Doug's afmultirecord
>
to prove that it is possible ;-)
>
>
Looking at Doug's pseudo code I spotted the difference between what we
>
had and the right way. We weren't setting the stream to the canonical
>
format.
>
>
I didn't think this would make a difference because I thought the
>
least the AUHAL did for you was to translate between canonical to
>
device formats. Certainly it does this on output. But making that
>
change kicked the thing into life and activated the higher channels.
>
>
I was (foolishly I see now) ignoring all the format stuff because I
>
just wanted to use the default canonical format and expected that to
>
"just work"!
On the output side one of two things happens:
You provide an InputCallback to the output - in that case if you don't
set the format you get stereo, deinterleaved 44.1K regardless of the
device's format
You make a connection to the output unit. In this case when the
connection is made the output unit's input format is based on the
output of the unit you are connecting to it *when* you make the
connection.
For Input you connect FROM the AUHAL unit to another unit (formats
between connections flow from the source to the destination)... so you
have to set the format on the output scope, element 1 (ie. the client
side for getting the device's input) of the AUHAL to what you want to
get.
Bill
>
>
So can someone explain why input is not handled in the same way?
>
>
Thanks,
>
>
Robert.
>
>
P.S. 16 channel input from SoundFlower is now working fine! Apologies
>
for suggesting that it didn't in an previous e-mail.
>
_______________________________________________
>
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.
>
>
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement [GSV]
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
________________________________________________________________________
__
_______________________________________________
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.