[vorbis] Mixing libvorbisfile with SDL

Greg Wooledge greg at wooledge.org
Sat Sep 20 05:28:05 PDT 2003


Stan Seibert (volsung at mailsnare.net) wrote:

> "After a bitstream has been opened using ov_open()/ov_open_callbacks() 
> and  decoding  is  complete,  the application  must  call  ov_clear() to
> clear the decoder's buffers and close the file." [From
> doc/vorbisfile/ov_clear.html]

Oh, my.  That's quite ambiguous.  "the application must ... and close
the file." sounds like it's the application's responsibility to call
close() or fclose().

I'd change it to something like "the application must call ov_clear()
to clear the decoder's buffers.  ov_clear() will close the file."


-- 
Greg Wooledge                  |   "Truth belongs to everybody."
greg at wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |


-------------- next part --------------
A non-text attachment was scrubbed...
Name: part
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis/attachments/20030920/3fc4bd42/part.pgp


More information about the Vorbis mailing list