Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/fastpath/
DFastCapture.cpp92 mInputSource = current->mInputSource; in onStateChange()
94 if (mInputSource == nullptr) { in onStateChange()
98 mFormat = mInputSource->format(); in onStateChange()
117 if (eitherChanged && mInputSource != nullptr && mPipeSink != nullptr) { in onStateChange()
174 ALOG_ASSERT(mInputSource != nullptr); in onWork()
178 const ssize_t framesRead = mInputSource->read(mReadBuffer, frameCount); in onWork()
DFastCaptureState.h30 NBAIO_Source* mInputSource = nullptr; // HAL input device, must already be negotiated member
DFastCapture.h51 NBAIO_Source* mInputSource = nullptr; variable
/frameworks/av/media/libaudioclient/tests/
Daudiorecord_tests.cpp85 mInputSource(std::get<RECORD_PARAM_INPUT_SOURCE>(GetParam())){}; in AudioRecordCreateTest()
92 const audio_source_t mInputSource; member in AudioRecordCreateTest
98 mAC = new AudioCapture(mInputSource, mSampleRate, mFormat, mChannelMask, mFlags, mSessionId, in SetUp()
214 EXPECT_EQ(mInputSource, mAC->getAudioRecordHandle()->inputSource()); in TEST_P()
Daudio_test_utils.cpp358 : mInputSource(inputSource), in AudioCapture()
415 mRecord = new AudioRecord(mInputSource, mSampleRate, mFormat, mChannelMask, in create()
421 status = mRecord->set(mInputSource, mSampleRate, mFormat, mChannelMask, mFrameCount, in create()
428 mRecord = new AudioRecord(mInputSource, mSampleRate, mFormat, mChannelMask, in create()
489 if (mInputSource != AUDIO_SOURCE_DEFAULT) { in stop()
491 status = AudioSystem::isSourceActive(mInputSource, &state); in stop()
Daudio_test_utils.h183 const audio_source_t mInputSource;
/frameworks/av/services/audioflinger/
DThreads.cpp8105 mInputSource = new AudioStreamInSource(input->stream); in RecordThread()
8113 mInputSource->negotiate(offers, 1, NULL, numCounterOffers); in RecordThread()
8140 NBAIO_Format format = mInputSource->format(); in RecordThread()
8182 state->mInputSource = mInputSource.get(); in RecordThread()
8214 mTee.set(mInputSource->format(), NBAIO_Tee::TEE_FLAG_INPUT_THREAD); in RecordThread()
9809 mInputSource.clear(); in clearInput()
DThreads.h2168 sp<NBAIO_Source> mInputSource; variable