Searched refs:supportedEncodings (Results 1 – 1 of 1) sorted by relevance
91 private final int[] supportedEncodings; field in AudioCapabilities106 public AudioCapabilities(@Nullable int[] supportedEncodings, int maxChannelCount) { in AudioCapabilities() argument107 if (supportedEncodings != null) { in AudioCapabilities()108 this.supportedEncodings = Arrays.copyOf(supportedEncodings, supportedEncodings.length); in AudioCapabilities()109 Arrays.sort(this.supportedEncodings); in AudioCapabilities()111 this.supportedEncodings = new int[0]; in AudioCapabilities()123 return Arrays.binarySearch(supportedEncodings, encoding) >= 0; in supportsEncoding()142 return Arrays.equals(supportedEncodings, audioCapabilities.supportedEncodings) in equals()148 return maxChannelCount + 31 * Arrays.hashCode(supportedEncodings); in hashCode()154 + ", supportedEncodings=" + Arrays.toString(supportedEncodings) + "]"; in toString()