Searched refs:minSampleRate (Results 1 – 6 of 6) sorted by relevance
144 int minSampleRate = -1, maxSampleRate = -1; in collectDeviceInfo() local147 minSampleRate = Arrays.stream(discreteSampleRates).min().getAsInt(); in collectDeviceInfo()152 minSampleRate = sampleRateRanges[0].getLower(); in collectDeviceInfo()155 store.addResult("min_sample_rate", minSampleRate); in collectDeviceInfo()
78 int minSampleRate = acaps.getSupportedSampleRateRanges()[0].getLower(); in createMinFormat() local81 format = MediaFormat.createAudioFormat(mime, minSampleRate, minChannelCount); in createMinFormat()
2381 int minSampleRate = acaps.getSupportedSampleRateRanges()[0].getLower(); in testPrependHeadersToSyncFrames() local2387 … format = MediaFormat.createAudioFormat(mime, minSampleRate, minChannelCount); in testPrependHeadersToSyncFrames()
224 float minSampleRate = cfg.getMinSampleRate(); in testSampleRate() local227 || Math.abs(minSampleRate - 0.0f) > EPSILON) { in testSampleRate()
1177 private static long generateTimeoutMillis(float minSampleRate, long bufferMillis) { in generateTimeoutMillis() argument1178 return ((long) ((1.0f / minSampleRate) * SECONDS_TO_MILLIS * UI_RATE_EVENT_COUNTER)) in generateTimeoutMillis()
1320 private static long getRegisterCallbackTimeoutMillis(int changeMode, float minSampleRate) { in getRegisterCallbackTimeoutMillis() argument1325 timeoutMillis = ((long) ((1.0f / minSampleRate) * secondsToMillis in getRegisterCallbackTimeoutMillis()