Displaying 1 result from an estimated 1 matches for "cb_sampl".
Did you mean:
cb_samples
2001 Nov 12
1
Vorbisfile: non-seekable
Hi,
I use the following code:
if (ov_open(NULL, &vf, const_cast<char*>(reinterpret_cast<const
char*>(get_data())), get_size()) < 0)
error = 0x100;
else
{
vorbis_info* vi = ov_info(&vf, -1);
Cvirtual_file f;
const int cb_samples = ov_pcm_total(&vf, -1);
const bool seekable = ov_seekable(&vf);
So all data is already in memory and passed to ov_open.
This stream is not seekable. Why not?
And shouldn't it be seekable?
Olaf van der Spek
Almere, Holland
Olaf@XCC.TMFWeb.NL
http://xccu.sourceforge.net/
http://xc...