manfreddiaz / openal-android-sample

A working sample of openal4android library.
6 stars 1 forks source link

Multiple Sound sources #2

Open felicss opened 6 years ago

felicss commented 6 years ago

Is there a proper way to play multiple sounds or is this implementation only intended for single audio sources? Doing something like this this.sound = new Source(soundEnv.addBuffer("beep1")); this.sound2 = new Source(soundEnv.addBuffer("beep2")); this.sound.play(true); this.sound2.play(true); doesn't seem to do the trick

thank you

felicss commented 6 years ago

It seems to work if i don't start playing the sounds immediately after one another