commit | e7b514be0c528aaf321b791162413def1511a9ec | [log] [tgz] |
---|---|---|
author | Luca Stefani <luca.stefani.ge1@gmail.com> | Sat Nov 09 10:10:24 2024 +0100 |
committer | Luca Stefani <luca.stefani.ge1@gmail.com> | Sat Nov 09 15:35:53 2024 +0000 |
tree | 059c691851f658e9491b40f05771708d2e1a9c77 | |
parent | f3fa12730359a25b274137c2ed2931075ca45681 [diff] |
Twelve: Enable experimental dynamic scheduling Should ensure AP wake-up only happens when there's render work that can actually be done. Change-Id: Iac3737302faf6f1efccfd378bdc507ed0f1ef081
diff --git a/app/src/main/java/org/lineageos/twelve/services/PlaybackService.kt b/app/src/main/java/org/lineageos/twelve/services/PlaybackService.kt index 1544e08..ce62c73 100644 --- a/app/src/main/java/org/lineageos/twelve/services/PlaybackService.kt +++ b/app/src/main/java/org/lineageos/twelve/services/PlaybackService.kt
@@ -191,6 +191,7 @@ .setAudioAttributes(audioAttributes, true) .setHandleAudioBecomingNoisy(true) .setRenderersFactory(TurntableRenderersFactory(this)) + .experimentalSetDynamicSchedulingEnabled(true) .build() exoPlayer.addListener(this)