Home
last modified time | relevance | path

Searched refs:mBlockSizeSamples (Results 1 – 7 of 7) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencySpeakerActivity.java78 private final int mBlockSizeSamples = 1024; field in AudioFrequencySpeakerActivity
139 mAudioShortArray2 = new short[mBlockSizeSamples*2]; in onCreate()
140 mData = new DspBufferDouble(mBlockSizeSamples); in onCreate()
141 mC = new DspBufferComplex(mBlockSizeSamples); in onCreate()
142 mFftServer = new DspFftServer(mBlockSizeSamples); in onCreate()
144 int overlap = mBlockSizeSamples / 2; in onCreate()
146 mWindow = new DspWindow(DspWindow.WINDOW_HANNING, mBlockSizeSamples, overlap); in onCreate()
422 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector()
450 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector()
624 mRecorder.setPositionNotificationPeriod(mBlockSizeSamples / 2); in initRecord()
[all …]
DAudioFrequencyLineActivity.java78 private final int mBlockSizeSamples = 1024; field in AudioFrequencyLineActivity
157 mAudioShortArray2 = new short[mBlockSizeSamples*2]; in onCreate()
158 mData = new DspBufferDouble(mBlockSizeSamples); in onCreate()
159 mC = new DspBufferComplex(mBlockSizeSamples); in onCreate()
160 mFftServer = new DspFftServer(mBlockSizeSamples); in onCreate()
162 int overlap = mBlockSizeSamples / 2; in onCreate()
164 mWindow = new DspWindow(DspWindow.WINDOW_HANNING, mBlockSizeSamples, overlap); in onCreate()
391 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector()
419 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector()
604 mRecorder.setPositionNotificationPeriod(mBlockSizeSamples / 2); in initRecord()
[all …]
DSoundRecorderObject.java33 private final int mBlockSizeSamples; field in SoundRecorderObject
45 mBlockSizeSamples = blockSize; in SoundRecorderObject()
142 mRecorder.setPositionNotificationPeriod(mBlockSizeSamples / 2); in initRecord()
DAudioFrequencyMicActivity.java101 private final int mBlockSizeSamples = 1024; field in AudioFrequencyMicActivity
162 mAudioShortArray2 = new short[mBlockSizeSamples*2]; in onCreate()
163 mData = new DspBufferDouble(mBlockSizeSamples); in onCreate()
164 mC = new DspBufferComplex(mBlockSizeSamples); in onCreate()
165 mFftServer = new DspFftServer(mBlockSizeSamples); in onCreate()
167 int overlap = mBlockSizeSamples / 2; in onCreate()
169 mWindow = new DspWindow(DspWindow.WINDOW_HANNING, mBlockSizeSamples, overlap); in onCreate()
612 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector()
640 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector()
831 mRecorder.setPositionNotificationPeriod(mBlockSizeSamples / 2); in initRecord()
[all …]
DAudioFrequencyUnprocessedActivity.java119 private final int mBlockSizeSamples = 4096; field in AudioFrequencyUnprocessedActivity
217 mAudioShortArray2 = new short[mBlockSizeSamples*2]; in onCreate()
218 mData = new DspBufferDouble(mBlockSizeSamples); in onCreate()
219 mC = new DspBufferComplex(mBlockSizeSamples); in onCreate()
220 mFftServer = new DspFftServer(mBlockSizeSamples); in onCreate()
222 int overlap = mBlockSizeSamples / 2; in onCreate()
224 mWindow = new DspWindow(DspWindow.WINDOW_HANNING, mBlockSizeSamples, overlap); in onCreate()
480 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in processSpectrum()
512 double freq = (double) mSamplingRate * i / (double) mBlockSizeSamples; in processSpectrum()
1063 mRecorder.setPositionNotificationPeriod(mBlockSizeSamples / 2); in initRecord()
[all …]
DAudioAEC.java75 private final int mBlockSizeSamples = 4096; field in AudioAEC
89 private RmsHelper mRMSRecorder1 = new RmsHelper(mBlockSizeSamples, SHOT_COUNT);
90 private RmsHelper mRMSRecorder2 = new RmsHelper(mBlockSizeSamples, SHOT_COUNT);
92 private RmsHelper mRMSPlayer1 = new RmsHelper(mBlockSizeSamples, SHOT_COUNT);
93 private RmsHelper mRMSPlayer2 = new RmsHelper(mBlockSizeSamples, SHOT_COUNT);
238 mSPlayer = new SoundPlayerObject(false, mBlockSizeSamples) { in onCreate()
248 mSRecorder = new SoundRecorderObject(mSamplingRate, mBlockSizeSamples, in onCreate()
DSoundPlayerObject.java74 private final int mBlockSizeSamples; field in SoundPlayerObject
80 mBlockSizeSamples = DEFAULT_BLOCK_SIZE; in SoundPlayerObject()
85 mBlockSizeSamples = blockSize; in SoundPlayerObject()
406 mAudioTrack.setPositionNotificationPeriod(mBlockSizeSamples); in setSoundWithResId()