Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Version 9 (modified by erwin, 15 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 Patching old files with default sounds
2009-05-11 Testing
2009-05-18 Testing and getting things ready for presentation
2009-05-2? Presentation

current milestone

Future

  • make error checking better
  • prepare for multiple level loading
  • implment a fallback ogg loader
  • clean up/add version numbers to cmake files