Home
last modified time | relevance | path

Searched refs:mSampleRate (Results 1 – 12 of 12) sorted by relevance

/system/media/audio_utils/tests/
Dmel_processor_tests.cpp79 : mSampleRate(std::get<0>(GetParam())), in MelProcessorFixtureTest()
82 mProcessor(sp<MelProcessor>::make(mSampleRate, in MelProcessorFixtureTest()
89 ALOGV("Starting test for freq / sr: %d / %d", mFrequency, mSampleRate); in MelProcessorFixtureTest()
93 int32_t mSampleRate; member in android::audio_utils::__anon62cfcac90111::MelProcessorFixtureTest
119 appendSineWaveBuffer(mBuffer, 1000.0f, mSampleRate * mMaxMelsCallback, mSampleRate); in TEST_P()
120 appendSineWaveBuffer(mBuffer, 1000.0f, mSampleRate * mMaxMelsCallback, mSampleRate, 0.01f); in TEST_P()
132 appendSineWaveBuffer(mBuffer, mFrequency, mSampleRate, mSampleRate); in TEST_P()
133 appendSineWaveBuffer(mBuffer, 1000.0f, mSampleRate, mSampleRate); in TEST_P()
149 << mSampleRate << " compared to 1kHz is " << deltaValue in TEST_P()
159 sp<MelProcessor>::make(mSampleRate, 1, AUDIO_FORMAT_PCM_FLOAT, mMelCallback, mDeviceId+1, in TEST_P()
[all …]
/system/media/audio_utils/include/audio_utils/
DTimestampVerifier.h71 && mSampleRate == sampleRate) { in add()
75 if (mDiscontinuity || mSampleRate != sampleRate) { in add()
97 mSampleRate = sampleRate; in add()
219 if (mSampleRate != 0) { // ratio of time-by-frames / time in toString()
221 mLastTimestamp, mFirstTimestamp, mSampleRate); in toString()
254 constexpr uint32_t getSampleRate() const { return mSampleRate; } in getSampleRate()
287 uint32_t mSampleRate = 0; variable
DPowerLog.h60 const uint32_t mSampleRate; // audio data sample rate variable
111 , mSampleRate(sampleRate) in mChannelCount()
163 const uint32_t mSampleRate; variable
DMelProcessor.h216 uint32_t mSampleRate GUARDED_BY(mLock);
/system/media/audio_utils/spdif/
DAC3FrameScanner.cpp220 mSampleRate = kEAC3ReducedSampleRateTable[fscod2]; in parseHeader()
223 mSampleRate = kAC3SampleRateTable[fscod]; in parseHeader()
253 mSampleRate = kAC3SampleRateTable[fscod]; in parseHeader()
270 mSampleRate, mRateMultiplier, mFrameSizeBytes, mAudioBlocksPerSyncFrame); in parseHeader()
DDTSFrameScanner.cpp114 mSampleRate = (uint32_t) sampleRate; in parseHeader()
133 mSampleRate, mRateMultiplier, mFrameSizeBytes); in parseHeader()
DFrameScanner.cpp37 , mSampleRate(0) in FrameScanner()
DSPDIFEncoder.cpp35 , mSampleRate(48000) in SPDIFEncoder()
/system/media/audio_utils/include/audio_utils/spdif/
DFrameScanner.h61 uint32_t getSampleRate() const { return mSampleRate; } in getSampleRate()
113 uint32_t mSampleRate; // encoded sample rate variable
DSPDIFEncoder.h95 uint32_t mSampleRate; variable
/system/media/audio_utils/
DPowerLog.cpp42 : mSampleRate(sampleRate) in PowerLogBase()
59 && nowNs > mCurrentTime + mCurrentFrames * 1e9 / mSampleRate + mMaxTimeSlipNs) { in processEnergy()
143 const float timeResolution = mFramesPerEntry * 1000.f / mSampleRate; in dumpToString()
245 nowNs += processFrames * NANOS_PER_SECOND / mSampleRate; in log()
DMelProcessor.cpp121 mSampleRate(sampleRate), in MelProcessor()
163 return getSampleRateBiquadCoeffs().count(mSampleRate) != 0; in isSampleRateSupported_l()
171 const auto& biquadCoeffs = getSampleRateBiquadCoeffs().at(mSampleRate); // checked above in createBiquads_l()
222 bool differentSampleRate = (mSampleRate != sampleRate); in updateAudioFormat()
225 mSampleRate = sampleRate; in updateAudioFormat()