Searched refs:mBlockSizeSamples (Results 1 – 6 of 6) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioFrequencyLineActivity.java | 69 private final int mBlockSizeSamples = 1024; field in AudioFrequencyLineActivity 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() 386 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() 414 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() 592 mRecorder.setPositionNotificationPeriod(mBlockSizeSamples / 2); in initRecord() [all …]
|
D | AudioFrequencySpeakerActivity.java | 76 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() 617 mRecorder.setPositionNotificationPeriod(mBlockSizeSamples / 2); in initRecord() [all …]
|
D | SoundRecorderObject.java | 33 private final int mBlockSizeSamples; field in SoundRecorderObject 45 mBlockSizeSamples = blockSize; in SoundRecorderObject() 142 mRecorder.setPositionNotificationPeriod(mBlockSizeSamples / 2); in initRecord()
|
D | AudioFrequencyMicActivity.java | 102 private final int mBlockSizeSamples = 1024; field in AudioFrequencyMicActivity 163 mAudioShortArray2 = new short[mBlockSizeSamples*2]; in onCreate() 164 mData = new DspBufferDouble(mBlockSizeSamples); in onCreate() 165 mC = new DspBufferComplex(mBlockSizeSamples); in onCreate() 166 mFftServer = new DspFftServer(mBlockSizeSamples); in onCreate() 168 int overlap = mBlockSizeSamples / 2; in onCreate() 170 mWindow = new DspWindow(DspWindow.WINDOW_HANNING, mBlockSizeSamples, overlap); in onCreate() 619 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() 647 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() 831 mRecorder.setPositionNotificationPeriod(mBlockSizeSamples / 2); in initRecord() [all …]
|
D | AudioAEC.java | 57 private final int mBlockSizeSamples = 4096; field in AudioAEC 71 private RmsHelper mRMSRecorder1 = new RmsHelper(mBlockSizeSamples, SHOT_COUNT); 72 private RmsHelper mRMSRecorder2 = new RmsHelper(mBlockSizeSamples, SHOT_COUNT); 74 private RmsHelper mRMSPlayer1 = new RmsHelper(mBlockSizeSamples, SHOT_COUNT); 75 private RmsHelper mRMSPlayer2 = new RmsHelper(mBlockSizeSamples, SHOT_COUNT); 215 mSPlayer = new SoundPlayerObject(false, mBlockSizeSamples) { in onCreate() 225 mSRecorder = new SoundRecorderObject(mSamplingRate, mBlockSizeSamples, in onCreate()
|
D | SoundPlayerObject.java | 74 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()
|