 samhitha Registered User |
Quote
|
2020-05-03 13:07:12 |
|
hello
we have tried to build a virtual drumpad using opengl and we have included the irrklang library to play music when there is a key press from either mouse or keyboard,but the problem is that the music plays only when the previous sound has stopped playing,how can it play even when the other sound is being played
|
 niko Moderator |
Quote
|
2020-05-04 05:36:58 |
|
Just call engine.play2D(...) whenever you need the sound to be played and don't stop the previous sound.
|