Home
last modified time | relevance | path

Searched refs:recordThread (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/services/audioflinger/
DTracks.cpp2867 auto* const recordThread = thread->asIAfRecordThread().get(); in start() local
2868 return recordThread->start(this, event, triggerSession); in start()
2879 auto* const recordThread = thread->asIAfRecordThread().get(); in stop() local
2880 if (recordThread->stop(this) && isExternalTrack()) { in stop()
2895 auto* const recordThread = thread->asIAfRecordThread().get(); in destroy() local
2898 recordThread->resetAudioHistory_l(); in destroy()
2900 recordThread->destroyTrack_l(this); // move mState to STOPPED, terminate in destroy()
3049 auto* const recordThread = thread->asIAfRecordThread().get(); in getActiveMicrophones() local
3050 return recordThread->getActiveMicrophones(activeMicrophones); in getActiveMicrophones()
3060 auto* const recordThread = thread->asIAfRecordThread().get(); in setPreferredMicrophoneDirection() local
[all …]
DRecordTracks.h138 PatchRecord(IAfRecordThread* recordThread,
174 PassthruPatchRecord(IAfRecordThread* recordThread,
DIAfTrack.h592 IAfRecordThread* recordThread,
604 IAfRecordThread* recordThread,
DPatchPanel.cpp72 if (const auto recordThread = thread->asIAfRecordThread(); in closeThreadInternal_l() local
73 recordThread) { in closeThreadInternal_l()
74 mAfPatchPanelCallback->closeThreadInternal_l(recordThread); in closeThreadInternal_l()
DAudioFlinger.cpp2036 IAfRecordThread* const recordThread = checkRecordThread_l(ioHandle); in getInputFramesLost() local
2037 if (recordThread != NULL) { in getInputFramesLost()
2038 return recordThread->getInputFramesLost(); in getInputFramesLost()
3359 sp<IAfRecordThread> recordThread; in closeInput_nonvirtual() local
3363 recordThread = checkRecordThread_l(input); in closeInput_nonvirtual()
3364 if (recordThread != 0) { in closeInput_nonvirtual()
3367 dumpToThreadLog_l(recordThread); in closeInput_nonvirtual()
3375 audio_utils::lock_guard _sl(recordThread->mutex()); in closeInput_nonvirtual()
3376 const Vector<sp<IAfEffectChain>> effectChains = recordThread->getEffectChains_l(); in closeInput_nonvirtual()
3389 if (t == recordThread) { in closeInput_nonvirtual()
[all …]
DThreads.cpp9471 auto* const recordThread = static_cast<RecordThread *>(threadBase->asIAfRecordThread().get()); in reset() local
9473 const int32_t rear = recordThread->mRsmpInRear; in reset()
9484 if ((size_t) deltaFrames > recordThread->mRsmpInFrames) { in reset()
9485 deltaFrames = recordThread->mRsmpInFrames; in reset()
9495 auto* const recordThread = static_cast<RecordThread *>(threadBase->asIAfRecordThread().get()); in sync() local
9496 const int32_t rear = recordThread->mRsmpInRear; in sync()
9507 } else if ((size_t) filled <= recordThread->mRsmpInFrames) { in sync()
9511 framesIn = recordThread->mRsmpInFrames; in sync()
9534 auto* const recordThread = static_cast<RecordThread *>(threadBase->asIAfRecordThread().get()); in getNextBuffer() local
9535 int32_t rear = recordThread->mRsmpInRear; in getNextBuffer()
[all …]