media/libraries
tonihei b1c954fa84 Use routed device in AudioCapabilities
From API 23, we may have a preferred device that is most likely used
as the output device.
From API 24, the AudioTrack tells us the actual routed device that is
used for output and we can listen to changes happening mid-playback.
From API 33, we can directly query the default device that will
be used for audio output for the current attributes.

If the routed device is known by any of the methods above, we can add
more targeted checks in methods like isBluetoothConnected to avoid
iterating over all devices that are not relevant.

The knowledge about the routed device will also be useful to check
advanced output capabilities in the future (e.g. for lossless
playback)

PiperOrigin-RevId: 600384923
2024-01-22 01:40:50 -08:00
..
cast Return empty timeline when media info is null 2023-11-20 09:55:36 -08:00
common Update Util.moveItems to explicitly T extends @NonNull Object 2024-01-18 08:35:04 -08:00
container Remove empty container/src/androidTest directory 2023-12-11 10:41:51 -08:00
database Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource Add supportsMimeType API to bitmapLoader 2024-01-12 13:49:38 -08:00
datasource_cronet Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource_okhttp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
datasource_rtmp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder Satisfy nullness checker correctness by using local variable 2023-10-31 12:56:32 +00:00
decoder_av1 Add Decoder.setOutputStartTimeUs and use it in extension decoders 2023-10-04 10:37:25 -07:00
decoder_ffmpeg Fix the check for clang complier in FFmpeg build file 2023-12-21 06:35:37 -08:00
decoder_flac Plumb SubtitleParser.Factory into MatroskaExtractor 2024-01-15 08:32:22 -08:00
decoder_midi MidiExtractor: mark only the first sample as key-frame 2023-11-21 07:39:46 -08:00
decoder_opus Plumb SubtitleParser.Factory into MatroskaExtractor 2024-01-15 08:32:22 -08:00
decoder_vp9 Plumb SubtitleParser.Factory into MatroskaExtractor 2024-01-15 08:32:22 -08:00
effect Previewing: Allow inputColorInfo to change, from SDR to HDR. 2024-01-18 05:20:18 -08:00
exoplayer Use routed device in AudioCapabilities 2024-01-22 01:40:50 -08:00
exoplayer_dash Rollback of 406c0a15be 2024-01-18 10:21:53 -08:00
exoplayer_hls Rollback of 406c0a15be 2024-01-18 10:21:53 -08:00
exoplayer_ima Set MIME type from IMA SDK on ads MediaItem 2023-11-14 09:12:07 -08:00
exoplayer_rtsp Merge pull request #491 from v-novaltd:dsparano-exo128 2023-10-17 06:35:19 -07:00
exoplayer_smoothstreaming Rollback of 406c0a15be 2024-01-18 10:21:53 -08:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Merge pull request #973 from jan-varecka-signageos-io:feat/extractTsAudioType 2024-01-18 10:25:47 -08:00
muxer Remove unnecessary passing around of class variable 2024-01-18 08:01:33 -08:00
session Add missing null and Bundle checks in MediaSession/ControllerStub 2024-01-18 05:29:39 -08:00
test_data Merge pull request #973 from jan-varecka-signageos-io:feat/extractTsAudioType 2024-01-18 10:25:47 -08:00
test_exoplayer_playback Add android.namespace to all build.gradle files 2023-05-19 17:19:15 +01:00
test_session_common Add session extras to the state of the controller 2023-11-21 14:32:33 -08:00
test_session_current Fix broadcasting notifyChildrenChanged for legacy controllers 2023-12-14 05:20:39 -08:00
test_utils Rollback of 406c0a15be 2024-01-18 10:21:53 -08:00
test_utils_robolectric Fix handling of multiple HEVC tracks in JPEG motion photos 2023-12-11 08:31:13 -08:00
transformer Remove thread blocking for TransformerInternal#getProgress. 2024-01-19 06:04:27 -08:00
ui Fix forward and rewind button texts cut off with material theme applied 2023-12-21 16:28:38 +01:00
ui_leanback Bump effect and leanback minSdk to 19 2024-01-10 07:22:00 -08:00
lint.xml Update recommended way to suppress @UnstableApi errors in lint.xml 2023-11-15 02:34:40 -08:00