Hello,

I am trying to integrate osgAudio and I am wondering how to force it to
actually close any open files it may have. In my case, I am loading OGG
Vorbis streams from a temporary file using the osgAudio::FileStream class
and I would like to delete those temporary files when the application
exits. Unfortunately, that fails on Windows with a file access error (the
file is still open), even though I call shutdown() on the the SoundManager.

I have skimmed through the osgAudio code and it seems to me that a file
stream is never actually being closed. Is this a missing part of the API or
am I missing something in the grand scheme of things?

Any ideas?

Regards,

Jan
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to