Asteroids built on a handmade engine for learning.
Go to file
Doyle Thai 630f2eaa5d Add audio looping, simplify audio API
Audio can be played with 1 call, audio_beginVorbisStream which
encapsulates the initialisation of the renderer and release on finish.
OpenAL is quoted to have a limitation of around 32 sources. Audio
renderers hence acquire a source slot on playback and immediately release
on finish. This ensures that sources are held optimally and minimises the
possibility of saturating the available sources.

Renderers hold an index to the source list, which the index reveals the
source ID for their use.
2016-07-27 22:50:14 +10:00
data Add audio looping, simplify audio API 2016-07-27 22:50:14 +10:00
extern Basic audio with stb_vorbis decoding and openal 2016-07-25 22:10:50 +10:00
src Add audio looping, simplify audio API 2016-07-27 22:50:14 +10:00
.clang-format Port project over to C, some C++ left 2016-06-18 00:40:40 +10:00
.gitattributes Initialise repo 2016-06-03 15:07:40 +10:00
.gitignore Basic audio with stb_vorbis decoding and openal 2016-07-25 22:10:50 +10:00
Dengine.sln Initialise repo 2016-06-03 15:07:40 +10:00
Dengine.vcxproj Abstract audio playback into own file 2016-07-27 01:34:26 +10:00
Dengine.vcxproj.filters Abstract audio playback into own file 2016-07-27 01:34:26 +10:00