[tremor] ov_time_total & 0.f
Monty
xiphmont at xiph.org
Sun Mar 30 15:10:15 PST 2003
On Sun, Mar 30, 2003 at 05:05:05PM -0600, slothead wrote:
> 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.
Ah. You're not looking at up-to-date code. Or worse, mixing and
matching :-)
Monty
--- >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