Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Version 3 (modified by erwin, 16 years ago) (diff)

Sound

Sound will use the OpenAL library.

All good things come in threes. Here is now the third version of the sound subsystem.

Classes:

SoundManager: ← Tickable

  • manages the OpenAL device and context
  • manages the listener position
  • updates all registred sounds every tick

SoundBase:

  • base class for all sounds
  • manages OpenAL buffer and source
  • has to be attached to a Ogre::SceneNode

SoundOgg: ← SoundBase

  • can load an ogg file

SoundWav: ← SoundBase

  • can load an wav file