media/library/common
tonihei 8e2692dc9c Allow unset index and position values + remove period index
This simplifies some position tracking needs for an app implementing
SimpleBasePlayer.
 - The period index can always be derived from the media item index
   and the position. So there is no need to set it separately.
 - The media item index can be left unset in the State in case the app
   doesn't care about the value or wants to set it the default start
   index (e.g. while the playlist is still empty where UNSET is
   different from zero).
 - Similarly, we should allow to set the content position (and buffered
   position) to C.TIME_UNSET to let the app ignore it or indicate the
   default position explictly.

PiperOrigin-RevId: 495352633
(cherry picked from commit 91557ac9d4)
2023-01-25 18:29:34 +00:00
..
src Allow unset index and position values + remove period index 2023-01-25 18:29:34 +00:00
build.gradle Consider shuffle order in Timeline.equals() 2022-06-28 12:15:54 +00:00
lint-baseline.xml Add lint base to make gradle lint run without errors 2022-06-15 16:51:04 +00:00
proguard-rules.txt Update to androidx.media3 2021-10-27 09:12:46 +01:00
README.md Update to androidx.media3 2021-10-27 09:12:46 +01:00

Common module

Provides common code and utilities used by other media modules. Application code will not normally need to depend on this module directly.