[tremor] ov_time_total & 0.f

slothead bounce at slothead.com
Sun Mar 30 15:05:05 PST 2003



File: G:\zips\z\vorbisfile.c
  1449:   ogg_int64_t time_total=0.f;

Because, for one

> >     //return(((ogg_int64_t)vf->pcmlengths[i])*1000/vf->vi[i].rate);

is the only time vf->pcmlengths[i] is used, everywhere else it's

vf->pcmlengths[i*2+1] (or similar, like [i*2]).  That is your tremor code
isn't it?  From what I could see i*2+0 is the pcm sample start of the link
and i*2+1 is the size (pcm samples).  Of course, I could be wrong, but [i]
is not going to work here, and [i*2+1] did.

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'tremor-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Tremor mailing list