Sound files are loaded dynamically (=runtime) in my app.
I implemented 2 ways of doing this.
# 1 PlayOneSound
A player for a single source.
Many instances of the player.
# 2 PlayManySounds
A single static OpenAL player, that handles buffers/source inside.
With reusing buffers.
In general is there a preferred way of playing dynamically loaded sounds?
Also, in case of a single player (#2), is it possible somehow to fill up the same buffer ( AL10#alBufferData ) with different data?
AL10.alDeleteBuffers(int) seems to delete the buffer for good, just overwriting the data also fails.
(so this 2nd approach is not working as expected so far).
In other words, can I reuse bufferData / Source?