Changing input devices with AUHAL
Changing input devices with AUHAL
- Subject: Changing input devices with AUHAL
- From: Chilton Webb <email@hidden>
- Date: Thu, 10 Jun 2004 21:46:59 -0500
Hi,
Thank you to everyone who has helped me thus far. I'm slowly gaining an
understanding of how CoreAudio works, and my AU hosting example is
finally working like I wanted it to.
I currently have my AUHAL output (acting as an input and set to the
default input device) passing data to a filter AU, then passing it back
out through the speakers. That works great.
I'd like to change it so that the input device is a different one than
the built-in Apple microphone now. So in order to do just this (change
the input source), do I need to have two separate AUHALs, or can I use
AudioUnitSetProperty and set the current device on element 1 of my
existing AUHAL to my new mic?
Normally I'd test it and see, but neither seem to be working for me.
However, I suspect that has something to do with the fact that the new
mic input is 48khz, not the 44khz that the internal PB Mic is. So do I
then need to add some kind of sample rate conversion to this?
I know this is all covered in the docs. I know this because I've read
this or that which almost answer the questions I'm asking. So if
there's a particular document that covers some aspect of this in
greater detail, I'm happy to just go RTFM if someone can suggest which
FM.
Thank you,
-Chilton
_______________________________________________
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.