Hi All
I will admit I am a mac newbie, coming from the windows
world.
Right up front, I am a newbie coming from the windows world,
but I have read all the pertinent information and documentation I could find to
no avail.
Our application will be taking PCM voice data at a known
sample rate and playing it out through a user selected device (headphones, etc).
I managed to adapt the capture code in ComplexPlayThru to
get sound from a mic at the appropriate sample rate, but for the life of me I
can not
Get the output working. If I use the output part of the
ComplexPlaythru sample that uses a varispeed component the voice quality is
tinny and otherwise very poor when
Input is captured at our default rate of 8k but I accept the
default output sample rate of 41k. It gets even worse if I change the sample
rate of the output device.
ComplexPlayThru does not work at all unless both sample
rates are at the default 41k , so that is no help :<(
I have tried creating output just using an AudioUnit and
doing the reverse of tn2091 .. ie using element 0 instead of element 1
and each step returns no error,
But my callback never gets called.
This took about 3 days on windows, and I have been at it now
for over two weeks on the Mac and have made no progress, and am starting to
feel really dumb.
I guess my questions are:
Is it possible to do audio output without using the AUGraph
model?
Is there a sample somewhere that actually does this ..
Thanks in advance
Bill