media/libraries/exoplayer/src
samturci 821ec49049 Preserve the byte order when using read-only ByteBuffers.
`asReadOnlyBuffer` doesn't copy the original byte order but always sets it to big-endian. Replace calls to it with a utility method that manually sets the byte order after creating the read-only copy.

This fixes `TeeAudioProcessor` providing a `ByteBuffer` always in big-endian and hence causing `AudioBufferSink` to read wrong data.

PiperOrigin-RevId: 554861402
2023-08-10 12:08:19 +00:00
..
androidTest Extend Player interface, overloading 4 device-volume methods with flags 2023-04-13 16:30:30 +01:00
main Preserve the byte order when using read-only ByteBuffers. 2023-08-10 12:08:19 +00:00
test Fix last sample detection issue for ClippingMediaSource 2023-08-07 11:34:34 +00:00