[vorbis] Mixing libvorbisfile with SDL

Stan Seibert volsung at mailsnare.net
Thu Sep 18 21:04:49 PDT 2003



Is this at all related to ov_clear() closing the file, and then the
program later closing the file again?  That's the most common mistake
I've seen.

Otherwise, it sounds like a strange memory corruption issue.  valgrind
and/or Electric Fence are good for tracking those down.


---
Stan Seibert

<p>On Thu, 2003-09-18 at 22:14, Alexander Markley wrote:
> I am having no luck at all mixing libvorbisfile with the cross-platform 
> gaming library SDL.
> 
> It seems that any time I call ov_clear, the app goes unstable and 
> crashes later in calls to glibc. This is unacceptable for obvious 
> reasons and I was wondering if there was a way to fix it by just using 
> libvorbis.
> 
> I was going to experiment with the possibility, but I have, as yet, been 
> unable to find any programming docs about libvorbis.
> 
> So, here is the question. Would it be easier to use libvorbis? Or is it 
> possible that the libvorbisfile library could be fixed?
> 
> This is unrelated to my previous message about the SegFault in ov_clear.
> 
> TIA
> --Alex
> 
> --- >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.

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