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.java86 private final int mBlockSizeSamples = 1024; field in AudioFrequencySpeakerActivity
152 mAudioShortArray2 = new short[mBlockSizeSamples*2]; in onCreate()
153 mData = new DspBufferDouble(mBlockSizeSamples); in onCreate()
154 mC = new DspBufferComplex(mBlockSizeSamples); in onCreate()
155 mFftServer = new DspFftServer(mBlockSizeSamples); in onCreate()
157 int overlap = mBlockSizeSamples / 2; in onCreate()
159 mWindow = new DspWindow(DspWindow.WINDOW_HANNING, mBlockSizeSamples, overlap); in onCreate()
436 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector()
464 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector()
625 mRecorder.setPositionNotificationPeriod(mBlockSizeSamples / 2); in initRecord()
[all …]
DAudioFrequencyLineActivity.java80 private final int mBlockSizeSamples = 1024; field in AudioFrequencyLineActivity
166 mAudioShortArray2 = new short[mBlockSizeSamples*2]; in onCreate()
167 mData = new DspBufferDouble(mBlockSizeSamples); in onCreate()
168 mC = new DspBufferComplex(mBlockSizeSamples); in onCreate()
169 mFftServer = new DspFftServer(mBlockSizeSamples); in onCreate()
171 int overlap = mBlockSizeSamples / 2; in onCreate()
173 mWindow = new DspWindow(DspWindow.WINDOW_HANNING, mBlockSizeSamples, overlap); in onCreate()
410 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector()
438 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector()
609 mRecorder.setPositionNotificationPeriod(mBlockSizeSamples / 2); in initRecord()
[all …]
DAudioFrequencyMicActivity.java116 private final int mBlockSizeSamples = 1024; field in AudioFrequencyMicActivity
185 mAudioShortArray2 = new short[mBlockSizeSamples*2]; in onCreate()
186 mData = new DspBufferDouble(mBlockSizeSamples); in onCreate()
187 mC = new DspBufferComplex(mBlockSizeSamples); in onCreate()
188 mFftServer = new DspFftServer(mBlockSizeSamples); in onCreate()
190 int overlap = mBlockSizeSamples / 2; in onCreate()
192 mWindow = new DspWindow(DspWindow.WINDOW_HANNING, mBlockSizeSamples, overlap); in onCreate()
636 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector()
664 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector()
842 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()
DAudioFrequencyUnprocessedActivity.java123 private final int mBlockSizeSamples = 4096; field in AudioFrequencyUnprocessedActivity
227 mAudioShortArray2 = new short[mBlockSizeSamples*2]; in onCreate()
228 mData = new DspBufferDouble(mBlockSizeSamples); in onCreate()
229 mC = new DspBufferComplex(mBlockSizeSamples); in onCreate()
230 mFftServer = new DspFftServer(mBlockSizeSamples); in onCreate()
232 int overlap = mBlockSizeSamples / 2; in onCreate()
234 mWindow = new DspWindow(DspWindow.WINDOW_HANNING, mBlockSizeSamples, overlap); in onCreate()
491 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in processSpectrum()
523 double freq = (double) mSamplingRate * i / (double) mBlockSizeSamples; in processSpectrum()
1061 mRecorder.setPositionNotificationPeriod(mBlockSizeSamples / 2); in initRecord()
[all …]
DAudioAEC.java56 private final int mBlockSizeSamples = 4096; field in AudioAEC
70 private RmsHelper mRMSRecorder1 = new RmsHelper(mBlockSizeSamples, SHOT_COUNT);
71 private RmsHelper mRMSRecorder2 = new RmsHelper(mBlockSizeSamples, SHOT_COUNT);
73 private RmsHelper mRMSPlayer1 = new RmsHelper(mBlockSizeSamples, SHOT_COUNT);
74 private RmsHelper mRMSPlayer2 = new RmsHelper(mBlockSizeSamples, SHOT_COUNT);
214 mSPlayer = new SoundPlayerObject(false, mBlockSizeSamples) { in onCreate()
224 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()