Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DTracks.cpp1679 RecordThread *recordThread = (RecordThread *)thread.get(); in start() local
1680 return recordThread->start(this, event, triggerSession); in start()
1690 RecordThread *recordThread = (RecordThread *)thread.get(); in stop() local
1691 if (recordThread->stop(this) && isExternalTrack()) { in stop()
1711 RecordThread *recordThread = (RecordThread *) thread.get(); in destroy() local
1712 recordThread->destroyTrack_l(this); in destroy()
1797 AudioFlinger::RecordThread::PatchRecord::PatchRecord(RecordThread *recordThread, in PatchRecord() argument
1805 : RecordTrack(recordThread, NULL, sampleRate, format, channelMask, frameCount, in PatchRecord()
1809 uint64_t mixBufferNs = ((uint64_t)2 * recordThread->frameCount() * 1000000000) / in PatchRecord()
1810 recordThread->sampleRate(); in PatchRecord()
DRecordTracks.h100 PatchRecord(RecordThread *recordThread,
DAudioFlinger.cpp1337 RecordThread *recordThread = checkRecordThread_l(ioHandle); in getInputFramesLost() local
1338 if (recordThread != NULL) { in getInputFramesLost()
1339 return recordThread->getInputFramesLost(); in getInputFramesLost()
2379 sp<RecordThread> recordThread; in closeInput_nonvirtual() local
2383 recordThread = checkRecordThread_l(input); in closeInput_nonvirtual()
2384 if (recordThread != 0) { in closeInput_nonvirtual()
2393 Mutex::Autolock _sl(recordThread->mLock); in closeInput_nonvirtual()
2394 Vector< sp<EffectChain> > effectChains = recordThread->getEffectChains_l(); in closeInput_nonvirtual()
2407 if (t == recordThread) { in closeInput_nonvirtual()
2437 if (recordThread != 0) { in closeInput_nonvirtual()
[all …]
DThreads.cpp7019 RecordThread *recordThread = (RecordThread *) threadBase.get(); in reset() local
7020 mRsmpInFront = recordThread->mRsmpInRear; in reset()
7028 RecordThread *recordThread = (RecordThread *) threadBase.get(); in sync() local
7029 const int32_t rear = recordThread->mRsmpInRear; in sync()
7040 } else if ((size_t) filled <= recordThread->mRsmpInFrames) { in sync()
7044 framesIn = recordThread->mRsmpInFrames; in sync()
7066 RecordThread *recordThread = (RecordThread *) threadBase.get(); in getNextBuffer() local
7067 int32_t rear = recordThread->mRsmpInRear; in getNextBuffer()
7072 LOG_ALWAYS_FATAL_IF(!(0 <= filled && (size_t) filled <= recordThread->mRsmpInFrames)); in getNextBuffer()
7074 front &= recordThread->mRsmpInFramesP2 - 1; in getNextBuffer()
[all …]