I am new to sound libraries and couldn't figure how to do this.
I load a wav file to SoLoud::Wav then I play it with play function of Soloud. Hover if I play same sample twice, it simple mutes its and starts it from the beginning.
I checked the flags of ::Wav and SINGLE_INSTANCE is not set. So I assume it should be able to play it multiple times at the same time. Is this correct?
I believe I can always load multiple samples of same file but that looks wrong and wasteful.
I am new to sound libraries and couldn't figure how to do this.
I load a wav file to SoLoud::Wav then I play it with play function of Soloud. Hover if I play same sample twice, it simple mutes its and starts it from the beginning.
I checked the flags of ::Wav and SINGLE_INSTANCE is not set. So I assume it should be able to play it multiple times at the same time. Is this correct?
I believe I can always load multiple samples of same file but that looks wrong and wasteful.
thanks