[MPlayer-dev-eng] [PATCH] af_scaletempo

JustFillBug mozbugbox at yahoo.com.au
Thu Sep 27 03:54:50 CEST 2007


On 2007-09-26, Robert Juliano <juliano.1 at osu.edu> wrote:
> On Wed, Sep 26, 2007 at 12:54:04AM +0000, JustFillBug wrote:
>> On 2007-09-24, Robert Juliano <juliano.1 at osu.edu> wrote:
>> > +int _best_overlap_offset_float(af_scaletempo_t* s) {
> ...
>> > +  search_start = (float*)s->buf_queue;
>> > +  for (off=0; off<s->frames_search; off++) {
>> > +    float corr = 0;
>> > +    float* ps = search_start;
>> > +    ppc = (float*)s->buf_pre_corr;
>> > +    for (i=0; i<s->samples_overlap; i++) {
>> 
>> shouldn't this be s->num_channels?
>
> I'm not sure what your refering to, unless you're pointing
> out that the first iteration does nothing.  I forgot to
> unscratch it off my todo list when I realized more than i
> needs changed.
>

I assumed that you were trying to find the minimum deviation
of the summation of all the channels.





More information about the MPlayer-dev-eng mailing list