Lines Matching refs:mTrack
346 if (mTrack == 0) return NO_INIT;
347 return mTrack->frameCount() * frameSize();
352 if (mTrack == 0) return NO_INIT;
353 return mTrack->frameCount();
358 if (mTrack == 0) return NO_INIT;
359 return mTrack->channelCount();
364 if (mTrack == 0) return NO_INIT;
365 return mTrack->frameSize();
380 if (mTrack == 0) return NO_INIT;
381 return mTrack->getPosition(position);
386 if (mTrack == 0) return NO_INIT;
408 if (mTrack != 0) close();
467 mTrack = t;
474 if (mTrack != 0) {
475 mTrack->setVolume(mLeftVolume, mRightVolume);
476 status_t status = mTrack->start();
478 mTrack->getPosition(&mNumFramesWritten);
498 if (mTrack != 0) {
500 ssize_t ret = mTrack->write(buffer, size);
510 if (mTrack != 0) mTrack->stop();
516 if (mTrack != 0) mTrack->flush();
522 if (mTrack != 0) mTrack->pause();
528 mTrack.clear();
536 if (mTrack != 0) {
537 mTrack->setVolume(left, right);
577 if (mTrack != 0) {
578 mTrack->dump(fd, args);