-
Notifications
You must be signed in to change notification settings - Fork 29
OpenAL
Jelle Vrieze edited this page Nov 12, 2020
·
2 revisions
Audio is everywhere. Most of the time a slight move of anything will cause sound. Games should be no different. The same way that rendering realistic images in games helps the player to merge in the game, audio does too. For this reason even early video games had simple sound chips to produce the sound effect (think of pacman or space invaders). From then games also added background music, and these days many games even release their soundtrack as album. For the mentioned reason I wanted to learn how to play sounds/music in C++ and load files.
- Loads WAV files
- Loads mp3 files using the minimp3 library
- Able to convert multi-channel audio files (stereo, surround) to mono
- Able to split multi-channel audio files (stereo, surround) into multiple mono audio buffers
- Supports spatial (3D) audio
- Plays, pauses and stops audio sources
Prototypes contained in Legion