Lines Matching refs:mAudioTrack
777 if (mAudioTrack != 0 && mPrevSampleID == sample->sampleID()) { in play()
779 if (mAudioTrack->setSampleRate(sampleRate) == NO_ERROR) { in play()
780 newTrack = mAudioTrack; in play()
781 ALOGV("reusing track %p for sample %d", mAudioTrack.get(), sample->sampleID()); in play()
812 oldTrack = mAudioTrack; in play()
821 mAudioTrack = newTrack; in play()
841 mAudioTrack->start(); in play()
848 mAudioTrack.clear(); in play()
983 mAudioTrack->stop(); in doStop_l()
1022 mAudioTrack->pause(); in pause()
1033 mAudioTrack->pause(); in autoPause()
1044 mAudioTrack->start(); in resume()
1055 mAudioTrack->start(); in autoResume()
1062 if (mAudioTrack != NULL && mSample != 0) { in setRate()
1064 mAudioTrack->setSampleRate(sampleRate); in setRate()
1074 if (mAudioTrack != NULL && !mMuted) in setVolume_l()
1075 mAudioTrack->setVolume(leftVolume, rightVolume); in setVolume_l()
1088 if (mAudioTrack != NULL) { in mute()
1090 mAudioTrack->setVolume(0.0f, 0.0f); in mute()
1092 mAudioTrack->setVolume(mLeftVolume, mRightVolume); in mute()
1100 if (mAudioTrack != NULL && mSample != 0) { in setLoop()
1103 mAudioTrack->setLoop(0, loopEnd, loop); in setLoop()
1118 mAudioTrack.clear(); in ~SoundChannel()