1

In a video I was watching about SoundPool, it mentioned setMaxStreams. The streamer said that setMaxStreams allows SoundPool to dedicate a portion of memory to each stream and set them up before it's even used.

This confused me since the name 'setMaxStreams' implies that this attribute limits the number of streams that can be played in a SoundPool. I checked the docs, and it said the same thing.

So does SoundPool's setMaxStreams prepare the streams ahead of time and limit the max number of streams?

Thanks!

CodingChap
  • 1,088
  • 2
  • 10
  • 23

0 Answers0