Loading media/jni/soundpool/SoundPool.cpp +5 −1 Original line number Diff line number Diff line Loading @@ -809,7 +809,11 @@ void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftV mAudioTrack = newTrack; ALOGV("using new track %p for sample %d", newTrack.get(), sample->sampleID()); } if (mMuted) { newTrack->setVolume(0.0f, 0.0f); } else { newTrack->setVolume(leftVolume, rightVolume); } newTrack->setLoop(0, frameCount, loop); mPos = 0; mSample = sample; Loading Loading
media/jni/soundpool/SoundPool.cpp +5 −1 Original line number Diff line number Diff line Loading @@ -809,7 +809,11 @@ void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftV mAudioTrack = newTrack; ALOGV("using new track %p for sample %d", newTrack.get(), sample->sampleID()); } if (mMuted) { newTrack->setVolume(0.0f, 0.0f); } else { newTrack->setVolume(leftVolume, rightVolume); } newTrack->setLoop(0, frameCount, loop); mPos = 0; mSample = sample; Loading