Searched refs:maxStreams (Results 1 – 1 of 1) sorted by relevance
151 public SoundPool(int maxStreams, int streamType, int srcQuality) { in SoundPool() argument152 this(maxStreams, in SoundPool()156 private SoundPool(int maxStreams, AudioAttributes attributes) { in SoundPool() argument158 if (native_setup(new WeakReference<SoundPool>(this), maxStreams, attributes) != 0) { in SoundPool()515 private native final int native_setup(Object weakRef, int maxStreams, in native_setup() argument582 public Builder setMaxStreams(int maxStreams) throws IllegalArgumentException { in setMaxStreams() argument583 if (maxStreams <= 0) { in setMaxStreams()587 mMaxStreams = maxStreams; in setMaxStreams()