/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | SoundRecorderObject.java | 34 private final int mSamplingRate; field in SoundRecorderObject 44 mSamplingRate = samplingRate; in SoundRecorderObject() 113 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSamplingRate, in initRecord() 127 Log.v(TAG, "at " + mSamplingRate + "Hz"); in initRecord() 130 mRecorder = new AudioRecord(mSelectedRecordSource, mSamplingRate, in initRecord()
|
D | Correlation.java | 25 private int mSamplingRate = 44100; field in Correlation 37 mSamplingRate = samplingRate; in init() 43 mSamplingRate = samplingRate; in computeCorrelation() 57 int minIndex = (int)(0.5 + minLatencyMs * mSamplingRate / (groupSize*1000)); in computeCorrelation() 91 mEstimatedLatencyMs = mEstimatedLatencySamples *1000/mSamplingRate; in computeCorrelation()
|
D | NativeAudioThread.java | 46 public int mSamplingRate = 48000; field in NativeAudioThread 72 mSamplingRate = samplingRate; in setParams() 107 int nNewSize = (int)(1.1* mSamplingRate * mSecondsToRun ); //10% more just in case in run() 129 log(String.format("about to init, sampling rate: %d, buffer:%d", mSamplingRate, in run() 131 long sles_data = slesInit(mSamplingRate, mMinPlayBufferSizeInBytes/2, mMicSource, in run()
|
D | AudioLoopbackActivity.java | 56 private int mSamplingRate = 44100; field in AudioLoopbackActivity 215 mSamplingRate = AudioTrack.getNativeOutputSampleRate(AudioManager.STREAM_MUSIC); in startAudioTest() 218 mSamplingRate, mMinBufferSizeInFrames)); in startAudioTest() 224 nativeAudioThread.setParams(mSamplingRate, in startAudioTest() 264 mCorrelation.computeCorrelation(waveData, mSamplingRate); 327 mSamplingRate, in recordTestResults()
|
D | AudioFrequencySpeakerActivity.java | 87 private final int mSamplingRate = 48000; field in AudioFrequencySpeakerActivity 436 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() 464 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() 597 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSamplingRate, in initRecord() 611 Log.v(TAG, " at " + mSamplingRate + "Hz"); in initRecord() 614 mRecorder = new AudioRecord(mSelectedRecordSource, mSamplingRate, in initRecord()
|
D | AudioFrequencyLineActivity.java | 81 private final int mSamplingRate = 48000; field in AudioFrequencyLineActivity 410 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() 438 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() 579 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSamplingRate, in initRecord() 593 Log.v(TAG, " at " + mSamplingRate + "Hz"); in initRecord() 596 mRecorder = new AudioRecord(mSelectedRecordSource, mSamplingRate, in initRecord()
|
D | AudioFrequencyMicActivity.java | 117 private final int mSamplingRate = 48000; field in AudioFrequencyMicActivity 636 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() 664 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() 814 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSamplingRate, in initRecord() 828 Log.v(TAG, " at " + mSamplingRate + "Hz"); in initRecord() 831 mRecorder = new AudioRecord(mSelectedRecordSource, mSamplingRate, in initRecord()
|
D | AudioFrequencyUnprocessedActivity.java | 124 private final int mSamplingRate = 48000; field in AudioFrequencyUnprocessedActivity 491 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in processSpectrum() 523 double freq = (double) mSamplingRate * i / (double) mBlockSizeSamples; in processSpectrum() 1033 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSamplingRate, in initRecord() 1047 Log.v(TAG, " at " + mSamplingRate + "Hz"); in initRecord() 1050 mRecorder = new AudioRecord(mSelectedRecordSource, mSamplingRate, in initRecord()
|
D | AudioAEC.java | 57 private final int mSamplingRate = 48000; field in AudioAEC 224 mSRecorder = new SoundRecorderObject(mSamplingRate, mBlockSizeSamples, in onCreate()
|
D | SoundPlayerObject.java | 53 private int mSamplingRate = 48000; field in SoundPlayerObject
|
/cts/suite/audio_quality/lib/src/audio/ |
D | AudioRemote.cpp | 27 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()
|
D | AudioLocal.cpp | 37 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/suite/audio_quality/test/ |
D | AudioLocalTest.cpp | 30 AudioHardware::SamplingRate mSamplingRate; member in AudioPlayerDummy 39 : mSamplingRate(AudioHardware::ESamplingRateInvald), in AudioPlayerDummy()
|
/cts/suite/audio_quality/lib/include/audio/ |
D | AudioRemote.h | 38 AudioHardware::SamplingRate mSamplingRate; variable
|
D | AudioLocal.h | 71 AudioHardware::SamplingRate mSamplingRate;
|