Searched refs:sampleRates (Results 1 – 2 of 2) sorted by relevance
382 int[] sampleRates = info.getSampleRates(); in getMaxSampleRate() local383 if (sampleRates == null || sampleRates.length == 0) { in getMaxSampleRate()386 int sampleRate = sampleRates[0]; in getMaxSampleRate()387 for (int i = 1; i < sampleRates.length; i++) { in getMaxSampleRate()388 if (sampleRates[i] > sampleRate) { in getMaxSampleRate()389 sampleRate = sampleRates[i]; in getMaxSampleRate()
228 int[] sampleRates = new int[]{48000, 96000, 16000, 8000}; in getSampleRate_withMultipleSampleRates_returnsMax() local229 when(deviceInfo.getSampleRates()).thenReturn(sampleRates); in getSampleRate_withMultipleSampleRates_returnsMax()