Searched refs:soundpool (Results 1 – 1 of 1) sorted by relevance
204 final SoundPool soundpool = new SoundPool.Builder() in playLoudSound() local209 soundpool.setOnLoadCompleteListener((soundPool, sampleId, status) -> { in playLoudSound()215 final int loadId = soundpool.load(mContext, R.raw.sine1320hz5sec, 1/*priority*/); in playLoudSound()220 int res = soundpool.play(loadId, 1.0f /*leftVolume*/, 1.0f /*rightVolume*/, 1 /*priority*/, in playLoudSound()