0

If I create a SoundPool object with 20 concurrent streams

new SoundPool(20, ...)

How many native AudioTrack objects will be reserved by the this SoundPool object ?

Is the native implementation of SoundPool Open Source ? Where can I view it ?

Sid Datta
  • 1,110
  • 2
  • 13
  • 29

1 Answers1

0

According to my preliminary testing, each time SoundPool plays a sound, it will reserve a native audiotrack in the system. So the number of sounds SoundPool can be playing simultaneously is bound by the number of free system audiotracks available. SoundPool performs no audio mixing by itself.

Sid Datta
  • 1,110
  • 2
  • 13
  • 29