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://xcc.tiberian.com/
--- >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
'vorbis-dev-request@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is
needed.
Unsubscribe messages sent to the list will be ignored/filtered.