AUVarispeed aufc vs auol?
AUVarispeed aufc vs auol?
- Subject: AUVarispeed aufc vs auol?
- From: "Kevin Dixon" <email@hidden>
- Date: Thu, 17 Apr 2008 16:39:13 -0400 (EDT)
- Importance: Normal
I have two questions, the first regards how to deal with the Varispeed:
I'm trying to use the AUVarispeed in an offline context, to process files.
When I was loading the auol version of the varispeed, I was not getting
any successful results, with garbage data, and such.
I am now trying to use the aufc, format converter, version, and it seems
to be behaving much better, e.g. it returns samples after processing.
I notice in CAAUProcessor.cpp, when dealing with aufc audio units, it
checks for a result != to noErr, and then has this comment:
// this is the only way we can tell we're done with a FormatConverter AU
// - ie. client returns an error from input
In my experience with the varispeed so far, it only returns noErr, and
never changes the render action flags.
My second question is regarding its parameters. I presume that if I set
the pitch change to 0 and the PlaybackRate to 0.5, then it should
effectively make a 10 second file 5 seconds long, correct?
In the case of my tests, the varispeed always returns the same number of
samples out as I put in, regardless of the parameter settings. Is there
something I should look for to determine the number of output samples
other than the mDataByteSize of the output buffer?
Thanks!!
-Kevin
_______________________________________________
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