Martins1
09-02-2007 11:39:12
Hello!
I am trying out OgreAl and it is really great, very well thought out
and programmed!
I have developed my own Archive type and plugged it into
Ogre::ArchiveManager (to obfuscate the media). But OgreAl
uses direct access to files to load Wav and Ogg:
alutLoadWAVFile() and ov_open().
This obviously restricts putting sound files in ZIP archives or
other user defined Ogre archives.
Would it be possible to use Ogre DataStreams instead and
replace with calls to alutCreateBufferFromFileImage() and
ov_open_callbacks()?
And this is probably related to OpenAl, but has anyone noticed:
1. When ogg sound stream finishes playing, I always hear a
kind of click. Is there a way to get rid of it?
2. Sometimes sound does not play at all or stops earlier than
expected. May be it is because I attach several sounds to the same
node?
Thanks!
I am trying out OgreAl and it is really great, very well thought out
and programmed!
I have developed my own Archive type and plugged it into
Ogre::ArchiveManager (to obfuscate the media). But OgreAl
uses direct access to files to load Wav and Ogg:
alutLoadWAVFile() and ov_open().
This obviously restricts putting sound files in ZIP archives or
other user defined Ogre archives.
Would it be possible to use Ogre DataStreams instead and
replace with calls to alutCreateBufferFromFileImage() and
ov_open_callbacks()?
And this is probably related to OpenAl, but has anyone noticed:
1. When ogg sound stream finishes playing, I always hear a
kind of click. Is there a way to get rid of it?
2. Sometimes sound does not play at all or stops earlier than
expected. May be it is because I attach several sounds to the same
node?
Thanks!