media/library
olly e8596428c0 Pass correct formats to AudioSink
The renderers are currently constructing formats that consist of their
input format with added PCM encoding. Such formats are not self-consistent,
and this only works because DefaultAudioSink ignores the rest of the
format if the format has a PCM encoding. It would not work if the sink
implementation checked the MIME type, for example, which wouldn't be a
strange or incorrect thing for it to do.

The more correct approach is to construct a new format that properly
represents the PCM that will be provided to the sink.

This change also renames supportsOutput to supportsFormat, because
AudioSink itself has both an input and an output side, and this method
is actually evaluating support on the input side of the sink.

PiperOrigin-RevId: 320396089
2020-07-10 09:09:02 +01:00
..
all Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
common Pass correct formats to AudioSink 2020-07-10 09:09:02 +01:00
core Pass correct formats to AudioSink 2020-07-10 09:09:02 +01:00
dash Completely separate MediaSource & DrmSession EventDispatchers 2020-07-08 13:55:38 +01:00
extractor Fix TrackSampleTable.durationUs to be 0 for sideloaded tracks 2020-07-08 13:55:55 +01:00
hls Completely separate MediaSource & DrmSession EventDispatchers 2020-07-08 13:55:38 +01:00
smoothstreaming Completely separate MediaSource & DrmSession EventDispatchers 2020-07-08 13:55:38 +01:00
ui Toggles subtitle button's image and content description accordingly 2020-07-09 08:04:16 +00:00
README.md Tweak and add READMEs + remove refs to V1 2017-08-17 22:59:34 +01:00

ExoPlayer library

The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.