Re: PlayThru Test (was: Re: daisy)
Re: PlayThru Test (was: Re: daisy)
- Subject: Re: PlayThru Test (was: Re: daisy)
- From: David Shaffer <email@hidden>
- Date: Fri, 23 Nov 2001 11:34:28 -0700
I'm not sure, but it could be that your output device is not the same as
your input device. You then need to copy the buffers you get from the
input device in a queue and then copy them to your output device.
Yep.. The input device is not the same ID as the output. But
physically, it is the iMic (same physical device).. So, I was
registering 2 different callbacks for the Audio Proc and copying from
the input mData to the output mData.
I've just put together some sample code to do this. you can find it
here:
http://studwww.rug.ac.be/~lbdkeyse/softs/opensource/PlayThru_Test.tgz
Great!!! this works..
I will look it over. Thanks.
I had registered the same callback for the input & output device but got
a memory error so I figured that dong that was illegal in some way.
What I didn't do was have the input & output device ID the same. For
me, the input device ID was different than the output device ID even
though the physical device was teh same.