[vorbis] Mixing libvorbisfile with SDL

Alexander Markley alex at milent.com
Sat Sep 20 07:36:54 PDT 2003



 > 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."

That wording would have cleared the problem up for me immediately.

--Alex

Greg Wooledge wrote:
> 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."
> 

--- >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