[vorbis] ov_pcm_total() returns always 0 after ov_open_callbacks()...

Mike just.me at aon.at
Sun Mar 2 15:28:33 PST 2003



Hi Folks,

i implemented the required callback funktions to open an ogg file from
memory.
Now ov_pcm_total() returns always 0, strange thing about is that
ov_pcm_total does not call any of the callback funktions.
I also like to mention that ov_info (which uses the read and seek callback
funktions) delivers correct values. Thats why i doubt that there's an error
in (the rather simple) callback funktions...

Is it valid to call ov_pcm_total() on an ogg file that was opened with
ov_open_callbacks()?
If it is not: How can i calculate the size of the audiobuffer?

I have realy no idea what i've done wrong, so please let me know if you have
any ideas.
Thank's in advance,
Mike

<p>... by the way, how can i find out with which version of the librarys i am
working with?

<p>--- >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-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 Vorbis mailing list