daedar
11-03-2007 09:28:56
Hi CaseyB,
I have trouble using createSoundStream for my music files(.ogg). It works perfectly with createSound but I'd like to switch to createSoundStream (for memory issues), but I have no sound when using this method
The code is the same for both methods:
I'll try with the CVS version asap.
Then I have another question... you know that sound cards have hardware limitations for the numbers of audio sources (generally 16). How does OgreAL manage this? If i create more sound than my hardware limitation?
Thx a lot
Daedar
I have trouble using createSoundStream for my music files(.ogg). It works perfectly with createSound but I'd like to switch to createSoundStream (for memory issues), but I have no sound when using this method

The code is the same for both methods:
OgreAL::Sound *s = sm->createSound("GameMusic", "Ambiance4.ogg", true );
s->setGain( (overall_volume/255.0f) * (music_volume/255.0f) );
s->setRelativeToListener( true );
s->play();
I'll try with the CVS version asap.
Then I have another question... you know that sound cards have hardware limitations for the numbers of audio sources (generally 16). How does OgreAL manage this? If i create more sound than my hardware limitation?
Thx a lot
Daedar