Home
last modified time | relevance | path

Searched refs:mInput (Results 1 – 5 of 5) sorted by relevance

/hardware/libhardware_legacy/audio/
DAudioHardwareGeneric.cpp46 : mOutput(0), mInput(0), mFd(-1), mMicMute(false) in AudioHardwareGeneric()
55 closeInputStream((AudioStreamIn *)mInput); in ~AudioHardwareGeneric()
113 if (mInput) { in openInputStream()
127 mInput = in; in openInputStream()
131 return mInput; in openInputStream()
135 if (mInput && in == mInput) { in closeInputStream()
136 delete mInput; in closeInputStream()
137 mInput = 0; in closeInputStream()
181 if (mInput) { in dump()
182 mInput->dump(fd, args); in dump()
DAudioHardwareGeneric.h147 AudioStreamInGeneric *mInput; variable
/hardware/interfaces/audio/aidl/vts/
DVtsHalVolumeTargetTest.cpp147 mInput.resize(kBufferSize); in VolumeDataTest()
151 generateMultiTone(mTestFrequencies, mInput, kSamplingFrequency); in VolumeDataTest()
152 mInputMag = calculateMagnitude(mInput, mBinOffsets, kNPointFFT); in VolumeDataTest()
188 std::vector<float> mInput; member in VolumeDataTest
205 ASSERT_NO_FATAL_FAILURE(processAndWriteToOutput(mInput, output, mEffect, &mOpenEffectReturn)); in TEST_P()
217 ASSERT_NO_FATAL_FAILURE(processAndWriteToOutput(mInput, output, mEffect, &mOpenEffectReturn)); in TEST_P()
238 ASSERT_NO_FATAL_FAILURE(processAndWriteToOutput(mInput, output, mEffect, &mOpenEffectReturn)); in TEST_P()
270 processAndWriteToOutput(mInput, baseOutput, mEffect, &mOpenEffectReturn)); in TEST_P()
285 processAndWriteToOutput(mInput, output, mEffect, &mOpenEffectReturn)); in TEST_P()
DVtsHalEnvironmentalReverbTargetTest.cpp347 mInput.resize(kBufferSize); in EnvironmentalReverbDataTest()
348 generateSineWaveInput(mInput); in EnvironmentalReverbDataTest()
359 setParameterAndProcess(mInput, output, val, mTag); in assertEnergyIncreasingWithParameter()
360 float energy = computeOutputEnergy(mInput, output); in assertEnergyIncreasingWithParameter()
371 setParameterAndProcess(mInput, output, val, mTag); in assertZeroEnergyWithBypass()
372 float energy = computeOutputEnergy(mInput, output); in assertZeroEnergyWithBypass()
379 std::vector<float> mInput; member in EnvironmentalReverbDataTest
DVtsHalPresetReverbTargetTest.cpp151 mInput.push_back(sin(2 * M_PI * frequency * i / kSamplingFrequency)); in generateSineWaveInput()
164 output[i] -= mInput[i]; in computeReverbOutputEnergy()
174 processAndWriteToOutput(mInput, output, mEffect, &mOpenEffectReturn)); in setPresetAndProcess()
190 std::vector<float> mInput; member in PresetReverbProcessTest