Home
last modified time | relevance | path

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

/cts/suite/audio_quality/lib/src/audio/
DAudioRemote.cpp27 mSamplingRate = samplingRate; in prepare()
63 return mRemote->startPlayback(stereo, mSamplingRate, mMode, mVolume, id, numberRepetition); in startPlaybackForRemoteData()
76 return mRemote->startRecording(stereo, mSamplingRate, mMode, mVolume, buffer); in startPlaybackOrRecord()
DAudioLocal.cpp37 mSamplingRate = samplingRate; in prepare()
57 int waitTimeInMsec = mBuffer->getSamples() / (mSamplingRate/1000); in waitForCompletion()
149 mCommandResult = doPrepare(mSamplingRate, AudioHardware::SAMPLES_PER_ONE_GO); in threadLoop()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DCorrelation.java25 private int mSamplingRate = 44100; field in Correlation
35 mSamplingRate = samplingRate; in init()
41 mSamplingRate = samplingRate; in computeCorrelation()
55 int minIndex = (int)(0.5 + minLatencyMs * mSamplingRate / (groupSize*1000)); in computeCorrelation()
89 mEstimatedLatencyMs = mEstimatedLatencySamples *1000/mSamplingRate; in computeCorrelation()
DNativeAudioThread.java46 public int mSamplingRate = 48000; field in NativeAudioThread
70 mSamplingRate = samplingRate; in setParams()
103 int nNewSize = (int)(1.1* mSamplingRate * mSecondsToRun ); //10% more just in case in run()
125 log(String.format("about to init, sampling rate: %d, buffer:%d", mSamplingRate, in run()
127 long sles_data = slesInit(mSamplingRate, mMinPlayBufferSizeInBytes/2, mMicSource); in run()
DAudioLoopbackActivity.java56 private int mSamplingRate = 44100; field in AudioLoopbackActivity
190 mSamplingRate = AudioTrack.getNativeOutputSampleRate(AudioManager.STREAM_MUSIC); in startAudioTest()
193 mSamplingRate, mMinBufferSizeInFrames)); in startAudioTest()
199 nativeAudioThread.setParams(mSamplingRate, in startAudioTest()
238 mCorrelation.computeCorrelation(waveData, mSamplingRate);
301 mSamplingRate, in recordTestResults()
DSoundPlayerObject.java42 public int mSamplingRate = 48000; field in SoundPlayerObject
131 mMinPlayBufferSizeInBytes = AudioTrack.getMinBufferSize(mSamplingRate, in setSoundWithResId()
138 mSamplingRate, in setSoundWithResId()
DAudioFrequencyLineActivity.java81 private final int mSamplingRate = 48000; field in AudioFrequencyLineActivity
390 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector()
418 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector()
551 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSamplingRate, in initRecord()
565 Log.v(TAG, " at " + mSamplingRate + "Hz"); in initRecord()
568 mRecorder = new AudioRecord(mSelectedRecordSource, mSamplingRate, in initRecord()
DAudioFrequencySpeakerActivity.java87 private final int mSamplingRate = 48000; field in AudioFrequencySpeakerActivity
439 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector()
467 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector()
600 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSamplingRate, in initRecord()
614 Log.v(TAG, " at " + mSamplingRate + "Hz"); in initRecord()
617 mRecorder = new AudioRecord(mSelectedRecordSource, mSamplingRate, in initRecord()
DAudioFrequencyMicActivity.java98 private final int mSamplingRate = 48000; field in AudioFrequencyMicActivity
558 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector()
586 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector()
714 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSamplingRate, in initRecord()
728 Log.v(TAG, " at " + mSamplingRate + "Hz"); in initRecord()
731 mRecorder = new AudioRecord(mSelectedRecordSource, mSamplingRate, in initRecord()
/cts/suite/audio_quality/test/
DAudioLocalTest.cpp30 AudioHardware::SamplingRate mSamplingRate; member in AudioPlayerDummy
39 : mSamplingRate(AudioHardware::ESamplingRateInvald), in AudioPlayerDummy()
/cts/suite/audio_quality/lib/include/audio/
DAudioRemote.h38 AudioHardware::SamplingRate mSamplingRate; variable
DAudioLocal.h71 AudioHardware::SamplingRate mSamplingRate;