media/libraries
tonihei b58a1d16f7 Split DefaultAudioSink.writeBuffer in two seperate steps
The method currently has two ways of operating with a complicated
contract:
 1. outputBuffer == null -> sets a new outputBuffer and starts
    draining it as far as possible.
 2. outputBuffer != null -> continues draining a previous buffer,
    requires that the input parameter is the same as outputBuffer.

This contract can be made cleaner by splitting the logic into
(1) setting a new output buffer and (2) draining the output buffer.

Only one parameter is needed for each method and there is no
requirement to pass in the same argument as before because we already
know what we are draining. This also means the caller of the method
doesn't have to keep track of the actual outputBuffer, allowing
further processing steps in the future that change the drained
instance.

PiperOrigin-RevId: 663316251
2024-08-15 08:33:31 -07:00
..
cast Formatting fixes and additional plumbin in legacy controller 2024-06-14 17:47:03 +01:00
common Automated Code Change 2024-08-09 21:18:31 -07:00
common_ktx Remove nested import of Player.Events from PlayerExtensions.listen 2024-08-15 07:07:48 -07:00
container Rename Atom to Mp4Box, and move it to container module 2024-08-15 05:44:32 -07:00
database Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource Automated Code Change 2024-08-07 12:28:25 -07:00
datasource_cronet Run CronetDataSource contract test for all Cronet providers 2024-08-01 10:49:37 -07:00
datasource_okhttp Automated Code Change 2024-08-07 12:28:25 -07:00
datasource_rtmp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder MediaCodecVideoRenderer skips decoder inputs unused as reference 2024-07-09 03:43:06 -07:00
decoder_av1 Replace or suppress deprecated usages 2024-01-26 10:06:18 -08:00
decoder_ffmpeg Replace or suppress deprecated usages 2024-01-26 10:06:18 -08:00
decoder_flac Remove Multidex 2024-07-24 16:17:00 +01:00
decoder_iamf/src Add nativeDecoderPointer field to IamfDecoder. 2024-08-13 09:38:44 -07:00
decoder_midi Add missing module registrations 2024-05-23 04:50:01 -07:00
decoder_opus Remove Multidex 2024-07-24 16:17:00 +01:00
decoder_vp9 Remove Multidex 2024-07-24 16:17:00 +01:00
effect Add a method to disallow VFP destroying shared eglContext 2024-08-07 05:50:32 -07:00
exoplayer Split DefaultAudioSink.writeBuffer in two seperate steps 2024-08-15 08:33:31 -07:00
exoplayer_dash Automated Code Change 2024-08-07 12:28:25 -07:00
exoplayer_hls Automated Code Change 2024-08-07 12:28:25 -07:00
exoplayer_ima Remove Multidex 2024-07-24 16:17:00 +01:00
exoplayer_rtsp Skip invalid media description in SessionDescriptionParser 2024-08-08 07:22:22 -07:00
exoplayer_smoothstreaming Default to parse subtitles while extracting, instead of while rendering 2024-05-16 01:42:56 -07:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Rename Atom to Mp4Box, and move it to container module 2024-08-15 05:44:32 -07:00
muxer Extract method to find minimum presentation timestamp across tracks 2024-08-15 07:40:27 -07:00
session Handle HEADSETHOOK as 'play' in MediaButtonReceiver.onReceive 2024-08-13 07:53:04 -07:00
test_data Add support for depth/editing file format in Mp4Extractor 2024-08-14 09:55:01 -07:00
test_exoplayer_playback Revert erroneous changes 2024-07-24 16:17:02 +01:00
test_session_common Improve automatic error replication for legacy browsers 2024-07-01 09:47:25 -07:00
test_session_current Revert changes to androidx.media3.session.legacy 2024-07-24 16:17:02 +01:00
test_utils Rollback of ffc45820b9 2024-08-05 05:31:46 -07:00
test_utils_robolectric Bump minSdk to 21 and remove resulting simple dead code 2024-07-12 08:11:01 -07:00
transformer Move the test of removeAudio to robolectric 2024-08-14 08:23:22 -07:00
ui Manage wakelock when playback suppression is being handled. 2024-08-10 02:28:12 -07: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