Searched refs:recordTrack (Results 1 – 8 of 8) sorted by relevance
/frameworks/av/services/audioflinger/ |
D | ResamplerBufferProvider.h | 30 explicit ResamplerBufferProvider(IAfRecordTrack* recordTrack) : in ResamplerBufferProvider() argument 31 mRecordTrack(recordTrack) {} in ResamplerBufferProvider()
|
D | PatchPanel.cpp | 688 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()
|
D | Threads.cpp | 9089 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 …]
|
D | AudioFlinger.cpp | 2301 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 …]
|
D | IAfThread.h | 589 IAfRecordTrack* recordTrack, AudioSystem::sync_event_t event, 594 virtual bool stop(IAfRecordTrack* recordTrack) EXCLUDES_ThreadBase_Mutex = 0;
|
D | IAfTrack.h | 492 static sp<media::IAudioRecord> createIAudioRecordAdapter(const sp<IAfRecordTrack>& recordTrack);
|
D | Tracks.cpp | 2631 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()
|
D | Threads.h | 2010 status_t start(IAfRecordTrack* recordTrack, 2016 bool stop(IAfRecordTrack* recordTrack) final EXCLUDES_ThreadBase_Mutex;
|