Re: best way to get rate conversion
Re: best way to get rate conversion
- Subject: Re: best way to get rate conversion
- From: Bill Stewart <email@hidden>
- Date: Fri, 11 Oct 2002 18:59:11 -0700
on 11/10/02 6:21 PM, Phil Burk wrote:
>
Hi Bill,
>
>
Thanks for the info.
>
>
> In Jaguar there is a AUConverter unit that wraps up the converter and will
>
> do bit-depth, SRC, channel interleaving/deinterleaving
>
>
PortAudio is distributed as source code format. I assume that if someone has
>
pre-Jaguar code then they won't be able to compile that code.
FillBuffer is a pre-Jaguar API (The complex isn't)
>
If I compile the code on Jaguar, will it execute on pre-Jaguar systems? In
>
other words is it statically linked with the new units or are they
>
dynamically linked?
The AudioUnits are - the output units in 10.1 will do the format conversion
for you (as they will on Jaguar). The AUConverter, though it won't show up
on a 10.1 system, is only a component - and this is completely dynamic...
(However, if you're using the new constants for this component type, then
that won't be on a 10.1 system, so won't compile).
>
Related Question: The Audio converter is run by calling
>
AudioConverterFillBuffer() which in turn calls a user callback. That is
>
perfect for the output channel. For Input, it would be nice if I could push
>
data from the audio input through the converter. Is there an equivalent
>
AudioConverterDrainBuffer()??
DrainBuffer - interesting idea:)
Bill
>
Thanks,
>
Phil Burk
>
_______________________________________________
>
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
__________________________________________________________________________
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
__________________________________________________________________________
_______________________________________________
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.