Lines Matching refs:audioTrack
150 // |audioTrack| is used only for querying information.
151 status_t MediaSync::setAudioTrack(const sp<AudioTrack> &audioTrack) {
156 ALOGE("setAudioTrack: audioTrack has already been configured.");
160 if (audioTrack == NULL && mSyncSettings.mSource == AVSYNC_SOURCE_AUDIO) {
161 ALOGE("setAudioTrack: audioTrack is used as sync source and cannot be removed.");
165 if (audioTrack != NULL) {
168 && audioTrack->setPlaybackRate(mPlaybackSettings) != OK) {
172 uint32_t nativeSampleRateInHz = audioTrack->getOriginalSampleRate();
177 mAudioTrack = audioTrack;
306 ALOGW("updateQueuedAudioData: audioTrack has NOT been configured.");