OGGZ_AUTO
Oggz can automatically provide metrics for the common media codecs Speex, Vorbis, and Theora, as well as all Annodex streams. You need do nothing more than open the file with the OGGZ_AUTO flag set.
- Create an OGGZ handle for reading with flags = OGGZ_READ | OGGZ_AUTO
- Read data, ensuring that you have received all b_o_s pages before attempting to seek.
Oggz will silently parse known codec headers and associate metrics appropriately; if you attempt to seek before you have received all b_o_s pages, Oggz will not have had a chance to parse the codec headers and associate metrics. It is safe to seek once you have received a packet with b_o_s == 0; see the Ogg basics section for more details.
- Note:
- This functionality is provided for convenience. Oggz parses these codec headers internally, and so liboggz is not linked to libspeex, libvorbis, libtheora or libannodex.
Generated on Fri May 21 16:55:01 2004 for liboggz by
1.3.5