Home
last modified time | relevance | path

Searched refs:AudioCapabilities (Results 1 – 9 of 9) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/
DAudioCapabilities.java32 public final class AudioCapabilities { class
37 public static final AudioCapabilities DEFAULT_AUDIO_CAPABILITIES =
38 new AudioCapabilities(new int[] {AudioFormat.ENCODING_PCM_16BIT}, DEFAULT_MAX_CHANNEL_COUNT);
41 private static final AudioCapabilities EXTERNAL_SURROUND_SOUND_CAPABILITIES =
42 new AudioCapabilities(
58 public static AudioCapabilities getCapabilities(Context context) { in getCapabilities()
66 /* package */ static AudioCapabilities getCapabilities(Context context, @Nullable Intent intent) { in getCapabilities()
74 return new AudioCapabilities( in getCapabilities()
106 public AudioCapabilities(@Nullable int[] supportedEncodings, int maxChannelCount) { in AudioCapabilities() method in AudioCapabilities
138 if (!(other instanceof AudioCapabilities)) { in equals()
[all …]
DAudioCapabilitiesReceiver.java47 void onAudioCapabilitiesChanged(AudioCapabilities audioCapabilities); in onAudioCapabilitiesChanged()
57 @Nullable /* package */ AudioCapabilities audioCapabilities;
70 Uri externalSurroundSoundUri = AudioCapabilities.getExternalSurroundSoundGlobalSettingUri(); in AudioCapabilitiesReceiver()
86 public AudioCapabilities register() { in register()
101 audioCapabilities = AudioCapabilities.getCapabilities(context, stickyIntent); in register()
123 private void onNewAudioCapabilities(AudioCapabilities newAudioCapabilities) { in onNewAudioCapabilities()
135 onNewAudioCapabilities(AudioCapabilities.getCapabilities(context, intent)); in onReceive()
162 onNewAudioCapabilities(AudioCapabilities.getCapabilities(context)); in onChange()
DDefaultAudioSink.java257 @Nullable private final AudioCapabilities audioCapabilities;
318 @Nullable AudioCapabilities audioCapabilities, AudioProcessor[] audioProcessors) { in DefaultAudioSink()
335 @Nullable AudioCapabilities audioCapabilities, in DefaultAudioSink()
355 @Nullable AudioCapabilities audioCapabilities, in DefaultAudioSink()
DMediaCodecAudioRenderer.java123 (AudioCapabilities) null); in MediaCodecAudioRenderer()
142 @Nullable AudioCapabilities audioCapabilities, in MediaCodecAudioRenderer()
DDecoderAudioRenderer.java160 @Nullable AudioCapabilities audioCapabilities, in DecoderAudioRenderer()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/audio/
DDefaultAudioSinkTest.java64 AudioCapabilities.DEFAULT_AUDIO_CAPABILITIES, in setUp()
73 AudioCapabilities.DEFAULT_AUDIO_CAPABILITIES, new TeeAudioProcessor[0]); in handlesSpecializedAudioProcessorArray()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/mediacodec/
DMediaCodecInfo.java20 import android.media.MediaCodecInfo.AudioCapabilities;
431 AudioCapabilities audioCapabilities = capabilities.getAudioCapabilities(); in isAudioSampleRateSupportedV21()
457 AudioCapabilities audioCapabilities = capabilities.getAudioCapabilities(); in isAudioChannelCountSupportedV21()
/external/exoplayer/tree/playbacktests/src/androidTest/java/com/google/android/exoplayer2/playbacktests/gts/
DEnumerateDecodersTest.java19 import android.media.MediaCodecInfo.AudioCapabilities;
159 AudioCapabilities audioCapabilities, StringBuilder result) { in appendAudioCapabilities()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DDefaultRenderersFactory.java23 import com.google.android.exoplayer2.audio.AudioCapabilities;
394 new DefaultAudioSink(AudioCapabilities.getCapabilities(context), audioProcessors)); in buildAudioRenderers()