Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Sound

Presented to you by Erwin Herrsche?

Sound uses 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 WorldEntity
  • can load a sound sample form a file (via alut, all alut supportet sound formats)

Timetable

Date What?
2009-03-30 Initial code commit, defitiv decision of API (done)
2009-04-06 Implementing SoundManager and integration into the build system (done)
2009-04-27 Implementing SoundBase (done)
2009-05-04 Adding default sounds, configuration loaders (done for levels)
2009-05-11 Testing
2009-05-18 Testing and getting things ready for presentation
2009-05-2? Presentation

Future

  • make error checking better
  • prepare for multiple level loading (mostly patches on SoundManager)
  • implement sound device configuration
  • implment a fallback ogg loader
  • clean up/add version numbers to cmake files