Home
last modified time | relevance | path

Searched refs:recordTrack (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/services/audioflinger/
DResamplerBufferProvider.h30 explicit ResamplerBufferProvider(IAfRecordTrack* recordTrack) : in ResamplerBufferProvider() argument
31 mRecordTrack(recordTrack) {} in ResamplerBufferProvider()
DPatchPanel.cpp688 auto recordTrack = mRecord.const_track(); in getLatencyMs() local
689 if (recordTrack.get() == nullptr) return INVALID_OPERATION; in getLatencyMs()
703 if (audio_is_linear_pcm(recordTrack->format())) { in getLatencyMs()
705 if (recordTrack->getServerLatencyMs(&recordServerLatencyMs) == OK in getLatencyMs()
717 recordTrack->getKernelFrameTime(&recordFT); in getLatencyMs()
734 *latencyMs = frameDiff * 1e3 / recordTrack->sampleRate() in getLatencyMs()
DThreads.cpp9089 status_t RecordThread::start(IAfRecordTrack* recordTrack, in start() argument
9098 recordTrack->clearSyncStartEvent(); in start()
9100 recordTrack->synchronizedRecordState().startRecording( in start()
9103 recordTrack->sessionId(), syncStartEventCallback, recordTrack)); in start()
9109 if (recordTrack->isInvalid()) { in start()
9110 recordTrack->clearSyncStartEvent(); in start()
9111 ALOGW("%s track %d: invalidated before startInput", __func__, recordTrack->portId()); in start()
9114 if (mActiveTracks.indexOf(recordTrack) >= 0) { in start()
9115 if (recordTrack->state() == IAfTrackBase::PAUSING) { in start()
9119 recordTrack->setState(IAfTrackBase::ACTIVE); in start()
[all …]
DAudioFlinger.cpp2301 sp<IAfRecordTrack> recordTrack; in createRecord() local
2370 recordTrack.clear(); in createRecord()
2403 recordTrack = thread->createRecordTrack_l(client, input.attr, &output.sampleRate, in createRecord()
2410 LOG_ALWAYS_FATAL_IF((lStatus == NO_ERROR) && (recordTrack == 0)); in createRecord()
2422 if (recordTrack->isFastTrack()) { in createRecord()
2430 recordTrack->sampleRate(), in createRecord()
2431 recordTrack->channelMask(), in createRecord()
2432 recordTrack->format() in createRecord()
2455 output.cblk = recordTrack->getCblk(); in createRecord()
2456 output.buffers = recordTrack->getBuffers(); in createRecord()
[all …]
DIAfThread.h589 IAfRecordTrack* recordTrack, AudioSystem::sync_event_t event,
594 virtual bool stop(IAfRecordTrack* recordTrack) EXCLUDES_ThreadBase_Mutex = 0;
DIAfTrack.h492 static sp<media::IAudioRecord> createIAudioRecordAdapter(const sp<IAfRecordTrack>& recordTrack);
DTracks.cpp2631 explicit RecordHandle(const sp<IAfRecordTrack>& recordTrack);
2653 const sp<IAfRecordTrack>& recordTrack) { in createIAudioRecordAdapter() argument
2654 return sp<RecordHandle>::make(recordTrack); in createIAudioRecordAdapter()
2658 const sp<IAfRecordTrack>& recordTrack) in RecordHandle() argument
2660 mRecordTrack(recordTrack) in RecordHandle()
DThreads.h2010 status_t start(IAfRecordTrack* recordTrack,
2016 bool stop(IAfRecordTrack* recordTrack) final EXCLUDES_ThreadBase_Mutex;