Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DAudioPreProcessingTest.java35 private final static int SAMPLING_RATE = 8000; field in AudioPreProcessingTest
236 SAMPLING_RATE, in getAudioRecord()
239 AudioRecord.getMinBufferSize(SAMPLING_RATE, in getAudioRecord()
DAudioEffectTest.java50 private final static int SAMPLING_RATE = 44100; field in AudioEffectTest
103 SAMPLING_RATE, in getAudioRecord()
106 AudioRecord.getMinBufferSize(SAMPLING_RATE, in getAudioRecord()
/cts/tests/tests/sensorprivacy/test-apps/CtsUseMicOrCameraForSensorPrivacy/src/android/sensorprivacy/cts/usemiccamera/
DUseMicCamera.kt43 private const val SAMPLING_RATE = 8000 constant
105 .setSampleRate(SAMPLING_RATE) in openMic()
110 AudioRecord.getMinBufferSize(SAMPLING_RATE, in openMic()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencyVoiceRecognitionActivity.java72 private static final int SAMPLING_RATE = 48000; field in AudioFrequencyVoiceRecognitionActivity
141 mSRecorder = new SoundRecorderObject(SAMPLING_RATE, BLOCK_SIZE_SAMPLES, in onCreate()
502 double freq = (double) SAMPLING_RATE * i / (double) BLOCK_SIZE_SAMPLES; in processSpectrum()
532 double freq = (double) SAMPLING_RATE * i / (double) BLOCK_SIZE_SAMPLES; in processSpectrum()