Lines Matching refs:track
28 android::sp<android::AudioTrack> track;
39 LOG_VERBOSE(LOG_TAG, "%s Track.cpp: btCreateTrack freq %d channel %d ",
41 sp<android::AudioTrack> track =
47 assert(track != NULL);
51 trackHolder->track = track;
53 if (trackHolder->track->initCheck() != 0)
61 trackHolder->track->setVolume(1, 1);
70 assert(trackHolder->track != NULL);
71 LOG_VERBOSE(LOG_TAG, "%s Track.cpp: btStartTrack", __func__);
72 trackHolder->track->start();
82 if (trackHolder != NULL && trackHolder->track != NULL) {
83 LOG_VERBOSE(LOG_TAG, "%s Track.cpp: btStartTrack", __func__);
84 trackHolder->track->stop();
95 if (trackHolder != NULL && trackHolder->track != NULL) {
96 LOG_VERBOSE(LOG_TAG, "%s Track.cpp: btStartTrack", __func__);
116 if (trackHolder != NULL && trackHolder->track != NULL) {
117 LOG_VERBOSE(LOG_TAG, "%s Track.cpp: btStartTrack", __func__);
118 trackHolder->track->pause();
119 trackHolder->track->flush();
130 if (trackHolder != NULL && trackHolder->track != NULL) {
132 trackHolder->track->setVolume(gain);
140 assert(trackHolder->track != NULL);
148 retval = trackHolder->track->write(audioBuffer, (size_t)bufferlen);
149 LOG_VERBOSE(LOG_TAG, "%s Track.cpp: btWriteData len = %d ret = %d",