Re: Sample rate conversion of audio input device
Re: Sample rate conversion of audio input device
- Subject: Re: Sample rate conversion of audio input device
- From: David Duncan <email@hidden>
- Date: Mon, 22 Jul 2002 08:04:50 -0400
On Monday, July 22, 2002, at 01:53 PM, Christof Faller wrote:
I am using an audio input device that supports only 44.1 kHz. I
would like to re-sample this input to 32 kHz.
Is it possible for this purpose to use the Apple provided SRC
audio unit??? (however audio units are normally only used for
output!?).
That is perfectly fine. In this case your output is the delivery
point of the sound input. However, since sound input uses a
push-model instead of a pull model, you would probably have to
buffer the sound input that you get and use an Input callback to
send in your sound data. If you aren't going to send the output
to a standard audio unit, then you can obtain a pointer to the
audio unit's RenderSlice function to get the output data.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.
David Duncan
_______________________________________________
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.