Compatibility with resource manager

kornerr

04-04-2010 11:55:40

Hello.
Looks like current implementation does not separate ALBuffer from ALSource. I'd like to have ALBuffer's declared/loaded/etc like all other Ogre resources.
I tried to make OgreOggSoundManager compatible, but then it appeared OgreOggISound is not a resource at all, but an object using the resource, hence the ALSource.
What are your thoughts about the issue?
Thanks.

stickymango

07-04-2010 09:30:47

What are you wanting to achieve?

Buffers are separated from sources and remain with their associated OgreOggISound throughout their lifetime, sources on the other hand are re-used and passed around sounds whenever they are needed.

If your just wanting to preload your audio data then you can already do this using the 'preload' flag during creation...