Displaying 1 result from an estimated 1 matches for "prevpos".
Did you mean:
previos
2005 Aug 16
1
ov_raw_tell() not working properly!
...ater.
and I need this to be done the most efficient way, so
I used ov_raw_tell() and ov_raw_seek() because the
documentation says they are the best when speed is a
concern.
but the problem is that sometimes ov_raw_tell returns
the same value before and after calling ov_read;
here's an example:
prevPos = ov_raw_tell(&vf);
const long ret = ov_read(&vf, temp_buffer, 4096, 0,
bytesPerSample, 1, ¤t_section);
currentPos = ov_raw_tell(&vf);
now, if I check, I'll find that prevPos == currentPos,
how could this be true??
I tried the other seeking methods, which are time and
pcm...