Re: Format mismatch
Re: Format mismatch
- Subject: Re: Format mismatch
- From: kelly jacklin <email@hidden>
- Date: Mon, 4 Oct 2004 07:43:03 -0700
On Oct 4, 2004, at 3:21 AM, Mark's Studio wrote:
I was testing my AU with CocoaAUHost and was getting a weird
numberOfFrames to process 468 and 472, so my AU was behaving strange,
but i found that it was because the hardware was set at 48Khz, the
file played was 44.1Khz. and GetSampleRate() returned 44.1Khz.
Is there anyway i can check for format mismatch, or is it just the
CocoaAUHost that behaves wrong?
Actually, I believe that's CocoaAUHost behaving correctly...
The CocoaAUHost sets the sample rate for the AUs to the sample rate of
the file, and then the output unit does SRC to match its input format
to its output format. Presumably the theory is that it's better to
apply SRC at the end of the chain, rather than the beginning, because
if you apply it at the beginning any noise introduced by the SRC will
pass through the entire signal chain.
kelly
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden