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()
977 mAudioTrack->stop(); in doStop_l()
1016 mAudioTrack->pause(); in pause()
1027 mAudioTrack->pause(); in autoPause()
1038 mAudioTrack->start(); in resume()
1049 mAudioTrack->start(); in autoResume()
1056 if (mAudioTrack != NULL && mSample != 0) { in setRate()
1058 mAudioTrack->setSampleRate(sampleRate); in setRate()
1068 if (mAudioTrack != NULL && !mMuted) in setVolume_l()
1069 mAudioTrack->setVolume(leftVolume, rightVolume); in setVolume_l()
1082 if (mAudioTrack != NULL) { in mute()
1084 mAudioTrack->setVolume(0.0f, 0.0f); in mute()
1086 mAudioTrack->setVolume(mLeftVolume, mRightVolume); in mute()
1094 if (mAudioTrack != NULL && mSample != 0) { in setLoop()
1097 mAudioTrack->setLoop(0, loopEnd, loop); in setLoop()
1112 mAudioTrack.clear(); in ~SoundChannel()