Home
last modified time | relevance | path

Searched refs:mSampleId (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DSoundEffectsHelper.java95 int mSampleId; field in SoundEffectsHelper.Resource
100 mSampleId = EFFECT_NOT_IN_SOUND_POOL; in Resource()
104 mSampleId = EFFECT_NOT_IN_SOUND_POOL; in unload()
218 res.mSampleId = sampleId; in onLoadSoundEffects()
250 if (res.mSampleId != EFFECT_NOT_IN_SOUND_POOL) { in onUnloadSoundEffects()
251 mSoundPool.unload(res.mSampleId); in onUnloadSoundEffects()
270 if (mSoundPool != null && res.mSampleId != EFFECT_NOT_IN_SOUND_POOL && res.mLoaded) { in onPlaySoundEffect()
271 mSoundPool.play(res.mSampleId, volFloat, volFloat, 0, 0, 1.0f); in onPlaySoundEffect()
447 if (res.mSampleId == sampleId) { in findResourceBySampleId()
526 if (res.mSampleId == sampleId && !res.mLoaded) { in onLoadComplete()
[all …]