Searched refs:isAudio (Results 1 – 11 of 11) sorted by relevance
111 boolean isAudio = MimeTypes.isAudio(requestedMimeType); in codecCapabilitiesToString()129 } else if (isAudio) { in codecCapabilitiesToString()150 && (isVideo || isAudio) in codecCapabilitiesToString()
127 public static boolean isAudio(@Nullable String mimeType) { in isAudio() method in MimeTypes215 if (mimeType != null && isAudio(mimeType)) { in getAudioMediaMimeType()383 } else if (isAudio(mimeType)) { in getTrackType()
733 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()
267 if (!MimeTypes.isAudio(selectedFormat.sampleMimeType)) { in shouldKeepInitialDiscontinuity()
103 if (!FfmpegLibrary.isAvailable() || !MimeTypes.isAudio(mimeType)) { in supportsFormatInternal()
1068 private static int findMediaDescriptionLine(boolean isAudio, String[] sdpLines) { in findMediaDescriptionLine() argument1069 final String mediaDescription = isAudio ? "m=audio " : "m=video "; in findMediaDescriptionLine()1115 private static String preferCodec(String sdpDescription, String codec, boolean isAudio) { in preferCodec() argument1117 final int mLineIndex = findMediaDescriptionLine(isAudio, lines); in preferCodec()
193 if (!MimeTypes.isAudio(format.sampleMimeType)) { in supportsFormat()
214 if (!MimeTypes.isAudio(mimeType)) { in supportsFormat()
1139 } else if (MimeTypes.isAudio(sampleMimeType)) {1186 && MimeTypes.isAudio(sampleFormat.sampleMimeType)
635 } else if (MimeTypes.isAudio(sampleMimeType)) { in buildFormat()1335 if (MimeTypes.isAudio(containerMimeType)) { in getSampleMimeType()
2090 if (MimeTypes.isAudio(mimeType)) { in initializeOutput()