9192939495969798
public void play(SonarSample sample, SoundSource soundSource, float volume, float priority, float rate) { synchronized (listenerMixer) { listenerMixer.addSoundProducer(new SamplePlayer((SonarSample) sample, rate), soundSource, volume, priority); } }