Home
last modified time | relevance | path

Searched refs:isAudio (Results 1 – 11 of 11) sorted by relevance

/external/exoplayer/tree/playbacktests/src/androidTest/java/com/google/android/exoplayer2/playbacktests/gts/
DEnumerateDecodersTest.java111 boolean isAudio = MimeTypes.isAudio(requestedMimeType); in codecCapabilitiesToString()
129 } else if (isAudio) { in codecCapabilitiesToString()
150 && (isVideo || isAudio) in codecCapabilitiesToString()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DMimeTypes.java127 public static boolean isAudio(@Nullable String mimeType) { in isAudio() method in MimeTypes
215 if (mimeType != null && isAudio(mimeType)) { in getAudioMediaMimeType()
383 } else if (isAudio(mimeType)) { in getTrackType()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DProgressiveMediaPeriod.java733 boolean isAudio = MimeTypes.isAudio(mimeType); in maybeFinishPrepare()
734 boolean isAudioVideo = isAudio || MimeTypes.isVideo(mimeType); in maybeFinishPrepare()
739 if (isAudio || sampleQueueTrackIds[i].isIcyTrack) { in maybeFinishPrepare()
750 if (isAudio in maybeFinishPrepare()
DClippingMediaPeriod.java267 if (!MimeTypes.isAudio(selectedFormat.sampleMimeType)) { in shouldKeepInitialDiscontinuity()
/external/exoplayer/tree/extensions/ffmpeg/src/main/java/com/google/android/exoplayer2/ext/ffmpeg/
DFfmpegAudioRenderer.java103 if (!FfmpegLibrary.isAvailable() || !MimeTypes.isAudio(mimeType)) { in supportsFormatInternal()
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DPeerConnectionClient.java1068 private static int findMediaDescriptionLine(boolean isAudio, String[] sdpLines) { in findMediaDescriptionLine() argument
1069 final String mediaDescription = isAudio ? "m=audio " : "m=video "; in findMediaDescriptionLine()
1115 private static String preferCodec(String sdpDescription, String codec, boolean isAudio) { in preferCodec() argument
1117 final int mLineIndex = findMediaDescriptionLine(isAudio, lines); in preferCodec()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/
DDecoderAudioRenderer.java193 if (!MimeTypes.isAudio(format.sampleMimeType)) { in supportsFormat()
DMediaCodecAudioRenderer.java214 if (!MimeTypes.isAudio(mimeType)) { in supportsFormat()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsSampleStreamWrapper.java1139 } else if (MimeTypes.isAudio(sampleMimeType)) {
1186 && MimeTypes.isAudio(sampleFormat.sampleMimeType)
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/
DDashManifestParser.java635 } else if (MimeTypes.isAudio(sampleMimeType)) { in buildFormat()
1335 if (MimeTypes.isAudio(containerMimeType)) { in getSampleMimeType()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/
DMatroskaExtractor.java2090 if (MimeTypes.isAudio(mimeType)) { in initializeOutput()