media/libraries
andrewlewis affc237055 Channel mix to 16-bit int not float
Previously `ChannelMixingAudioProcessor` output float because it was
implemented using the audio mixer's float mixing support.

Move the implementation over to just using the `ChannelMixingMatrix` and make
it publicly visible in the common module so it can be used by apps for both
playback and export.

Also resolve a TODO that no longer had a bug attached by implementing support
for putting multiple mixing matrices to handle different input audio channel
counts, and fix some nits in the test code.

Tested via unit tests and manually configuring a `ChannelMixingAudioProcessor`
in the transformer demo app and playing an audio stream that identifies
channels, and verifying that they are remapped as expected.

PiperOrigin-RevId: 523653901
2023-04-12 16:58:43 +01:00
..
cast Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
common Channel mix to 16-bit int not float 2023-04-12 16:58:43 +01:00
database Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
datasource Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
datasource_cronet Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
datasource_okhttp Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
datasource_rtmp Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
decoder Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
decoder_av1 Remove Javadoc TODO from README of decoder extensions 2023-04-05 15:48:58 +01:00
decoder_ffmpeg Remove Javadoc TODO from README of decoder extensions 2023-04-05 15:48:58 +01:00
decoder_flac Remove Javadoc TODO from README of decoder extensions 2023-04-05 15:48:58 +01:00
decoder_opus Remove Javadoc TODO from README of decoder extensions 2023-04-05 15:48:58 +01:00
decoder_vp9 Remove Javadoc TODO from README of decoder extensions 2023-04-05 15:48:58 +01:00
effect Remove setters for streamOffset. 2023-04-12 16:52:48 +01:00
exoplayer Rename ExoTrackSelection.blacklist to excludeTrack 2023-04-12 16:54:45 +01:00
exoplayer_dash Rename ExoTrackSelection.blacklist to excludeTrack 2023-04-12 16:54:45 +01:00
exoplayer_hls Rename ExoTrackSelection.blacklist to excludeTrack 2023-04-12 16:54:45 +01:00
exoplayer_ima Correct ad durations when timeline moves more than a single period 2023-04-11 10:30:27 +01:00
exoplayer_rtsp Move NAL unit utility classes into common 2023-04-05 15:45:35 +01:00
exoplayer_smoothstreaming Rename ExoTrackSelection.blacklist to excludeTrack 2023-04-12 16:54:45 +01:00
exoplayer_workmanager Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
extractor Move NAL unit utility classes into common 2023-04-05 15:45:35 +01:00
session Mark MediaController methods final to prevent accidental overrides 2023-04-12 16:57:44 +01:00
test_data HDR: Add HDR pixel tests. 2023-04-12 16:51:51 +01:00
test_exoplayer_playback Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
test_session_common Update available commands when setting a new player in MediaSession 2023-04-12 16:55:47 +01:00
test_session_current Update available commands when setting a new player in MediaSession 2023-04-12 16:55:47 +01:00
test_utils Rename ExoTrackSelection.blacklist to excludeTrack 2023-04-12 16:54:45 +01:00
test_utils_robolectric Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
transformer Channel mix to 16-bit int not float 2023-04-12 16:58:43 +01:00
ui Make PlayerView fold aware 2023-04-12 16:51:04 +01:00
ui_leanback Fix (another) LeanbackPlayerAdapter param name mismatch 2023-02-01 10:41:50 +00:00