ThuCommix / Sharpex2D

2D GameEngine for Indie games with alot of features
http://www.sharpex2d.de
MIT License
47 stars 9 forks source link

OpenAL ALDevice init multiple times #41

Closed ThuCommix closed 9 years ago

ThuCommix commented 9 years ago

In every ALSoundPlayer instance the device and the context gets created again, which leads to performance decrease and even worse: its cancels the current playback. A device should only get initialized once!

ThuCommix commented 9 years ago

https://github.com/ThuCommix/Sharpex2D/commit/c79d7de0c04848a6d397406a278e17e7d6d557ba