Searched refs:audioCapabilities (Results 1 – 7 of 7) sorted by relevance
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/ |
D | AudioCapabilitiesReceiver.java | 47 void onAudioCapabilitiesChanged(AudioCapabilities audioCapabilities); in onAudioCapabilitiesChanged() argument 57 @Nullable /* package */ AudioCapabilities audioCapabilities; field in AudioCapabilitiesReceiver 88 return Assertions.checkNotNull(audioCapabilities); in register() 101 audioCapabilities = AudioCapabilities.getCapabilities(context, stickyIntent); in register() 102 return audioCapabilities; in register() 113 audioCapabilities = null; in unregister() 124 if (registered && !newAudioCapabilities.equals(audioCapabilities)) { in onNewAudioCapabilities() 125 audioCapabilities = newAudioCapabilities; in onNewAudioCapabilities()
|
D | AudioCapabilities.java | 141 AudioCapabilities audioCapabilities = (AudioCapabilities) other; in equals() local 142 return Arrays.equals(supportedEncodings, audioCapabilities.supportedEncodings) in equals() 143 && maxChannelCount == audioCapabilities.maxChannelCount; in equals()
|
D | DefaultAudioSink.java | 257 @Nullable private final AudioCapabilities audioCapabilities; field in DefaultAudioSink 318 @Nullable AudioCapabilities audioCapabilities, AudioProcessor[] audioProcessors) { in DefaultAudioSink() 319 this(audioCapabilities, audioProcessors, /* enableFloatOutput= */ false); in DefaultAudioSink() 335 @Nullable AudioCapabilities audioCapabilities, in DefaultAudioSink() 338 this(audioCapabilities, new DefaultAudioProcessorChain(audioProcessors), enableFloatOutput); in DefaultAudioSink() 355 @Nullable AudioCapabilities audioCapabilities, in DefaultAudioSink() 358 this.audioCapabilities = audioCapabilities; in DefaultAudioSink() 406 return audioCapabilities != null in supportsOutput() 407 && audioCapabilities.supportsEncoding(encoding) in supportsOutput() 409 || channelCount <= audioCapabilities.getMaxChannelCount()); in supportsOutput()
|
D | DecoderAudioRenderer.java | 160 @Nullable AudioCapabilities audioCapabilities, in DecoderAudioRenderer() argument 162 this(eventHandler, eventListener, new DefaultAudioSink(audioCapabilities, audioProcessors)); in DecoderAudioRenderer()
|
D | MediaCodecAudioRenderer.java | 142 @Nullable AudioCapabilities audioCapabilities, in MediaCodecAudioRenderer() argument 149 new DefaultAudioSink(audioCapabilities, audioProcessors)); in MediaCodecAudioRenderer()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/mediacodec/ |
D | MediaCodecInfo.java | 431 AudioCapabilities audioCapabilities = capabilities.getAudioCapabilities(); in isAudioSampleRateSupportedV21() local 432 if (audioCapabilities == null) { in isAudioSampleRateSupportedV21() 436 if (!audioCapabilities.isSampleRateSupported(sampleRate)) { in isAudioSampleRateSupportedV21() 457 AudioCapabilities audioCapabilities = capabilities.getAudioCapabilities(); in isAudioChannelCountSupportedV21() local 458 if (audioCapabilities == null) { in isAudioChannelCountSupportedV21() 463 audioCapabilities.getMaxInputChannelCount()); in isAudioChannelCountSupportedV21()
|
/external/exoplayer/tree/playbacktests/src/androidTest/java/com/google/android/exoplayer2/playbacktests/gts/ |
D | EnumerateDecodersTest.java | 159 AudioCapabilities audioCapabilities, StringBuilder result) { in appendAudioCapabilities() argument 162 .append(audioCapabilities.getBitrateRange()) in appendAudioCapabilities() 164 .append(audioCapabilities.getMaxInputChannelCount()) in appendAudioCapabilities() 166 .append(Arrays.toString(audioCapabilities.getSupportedSampleRateRanges())) in appendAudioCapabilities()
|