Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencyVoiceRecognitionActivity.java71 private static final int BLOCK_SIZE_SAMPLES = 4096; field in AudioFrequencyVoiceRecognitionActivity
141 mSRecorder = new SoundRecorderObject(SAMPLING_RATE, BLOCK_SIZE_SAMPLES, in onCreate()
147 int samplesNeeded = BLOCK_SIZE_SAMPLES; in onCreate()
181 double[] magnitude = new double[BLOCK_SIZE_SAMPLES / 2]; in onCreate()
182 for (i = 0; i < BLOCK_SIZE_SAMPLES / 2; i++) { in onCreate()
254 mAudioShortArray2 = new short[BLOCK_SIZE_SAMPLES *2]; in onCreate()
255 mData = new DspBufferDouble(BLOCK_SIZE_SAMPLES); in onCreate()
256 mC = new DspBufferComplex(BLOCK_SIZE_SAMPLES); in onCreate()
257 mFftServer = new DspFftServer(BLOCK_SIZE_SAMPLES); in onCreate()
259 int overlap = BLOCK_SIZE_SAMPLES / 2; in onCreate()
[all …]