Re: Few sample rate conversion questions
Re: Few sample rate conversion questions
- Subject: Re: Few sample rate conversion questions
- From: "Mike Kluev" <email@hidden>
- Date: Fri, 23 Jan 2009 10:56:49 +0300
On Thu, 22 Jan 2009 14:03:30 -0800 William Stewart <email@hidden>
wrote:
On Jan 22, 2009, at 2:47 AM, Mike Kluev wrote:
I'll file feature request to make complexity controllable.
rdar://6520002
BTW, changing kAudioUnitProperty_SampleRateConverterComplexity
seems to do nothing with AUConverter (while the SetPropety call
returns noErr). Isn't that a bug?
It should be implemented with AUConverter , but it isn't with the
varispeed
Looks like it is just ignored in AUConverter. rdar://6519999
No - but what you do is a "latency pull" - you pull at least as
much latency samples through the AU providing correct input and
then throw out latency num samples of the output of the AU, then
you are good to go.
Yes, this works. When should I do this latency pull? Sure I should do
it initially. I should probably do it after I change either source or
destination format, and maybe after unit reset. Correct? Is there
notification I could listen to know that I am supposed to do latency
pull?
There is also "tail", would you also recommend to skip tail frames?
These frames seem to look quite ok (not all zeroes, etc).
I am curious, what's the reason for this latency delay, given
that there is no such latency in AudioConverter and supposing
that both AUConverter/AUVarispeed and AudioConverter share
the same underlying resampler.
Mike
_______________________________________________
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