Conversation
- Fall back to PCM when gapless offload is unavailable - Treat crossfade as disabled for all disabled transition settings
|
| Filename | Overview |
|---|---|
| app/src/main/java/com/lostf1sh/pixelplayeross/data/service/player/DualPlayerEngine.kt | Adds .setIsGaplessSupportRequired(true) to AudioOffloadPreferences; when offload mode is disabled the flag is a no-op, so both code paths are safe. |
| app/src/main/java/com/lostf1sh/pixelplayeross/data/service/player/TransitionController.kt | Expands the global crossfade kill-switch to fire regardless of resolution source; documented in an inline comment; previous review comment addressed. |
| app/src/main/java/com/lostf1sh/pixelplayeross/presentation/components/subcomps/LibraryActionRow.kt | Moves @OptIn(ExperimentalMaterial3Api::class) from the call-site inside the function to the function-level annotation; correct and cleaner placement. |
| app/src/main/java/com/lostf1sh/pixelplayeross/presentation/screens/SearchScreen.kt | Removes redundant shapes = ToggleButtonDefaults.shapes() from ToggleButton call site; no behavioral change. |
| app/src/main/java/com/lostf1sh/pixelplayeross/presentation/screens/StatsScreen.kt | Removes redundant shapes = ToggleButtonDefaults.shapes() from two ToggleButton call sites; no behavioral change. |
| gradle/libs.versions.toml | Routine version bumps: AGP 9.3.1, Kotlin 2.4.10, Ktor 3.5.2, BouncyCastle 1.85, JUnit Jupiter 6.1.2, baselineprofile 1.5.0-beta01, constraintlayoutCompose 1.1.2. |
| gradle/wrapper/gradle-wrapper.properties | Gradle wrapper bumped from 9.5.1 to 9.6.1 with updated SHA-256 checksum. |
| .github/workflows/nightly-apk.yml | Pins gradle/actions/setup-gradle from the floating @v6 tag to the specific @v6.2.0 point release across all three CI workflows. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[buildPlayer called] --> B{audioOffloadEnabled?}
B -- Yes --> C[AUDIO_OFFLOAD_MODE_ENABLED]
B -- No --> D[AUDIO_OFFLOAD_MODE_DISABLED]
C --> E[setIsGaplessSupportRequired true]
D --> E
E --> F[Build AudioOffloadPreferences]
F --> G{Device HAL supports\ngapless offload?}
G -- Yes --> H[Audio offload active\ngapless transitions enabled]
G -- No --> I[Fall back to PCM path\nno track-start gap]
Reviews (4): Last reviewed commit: "Delete app/.attach_pid191510" | Re-trigger Greptile
- Document global crossfade toggle precedence - Apply Material 3 opt-in at the component level - Update toggle button styling for search and stats
…profile Applies the bumps from the open Dependabot PRs directly on this branch, since they were all branched off a main that does not compile: agp 9.2.1 -> 9.3.1 kotlin 2.4.0 -> 2.4.10 ktor 3.5.1 -> 3.5.2 junitJupiter / junit5 6.1.1 -> 6.1.2 constraintlayoutCompose 1.1.1 -> 1.1.2 bouncycastle 1.84 -> 1.85 baselineprofile 1.5.0-alpha07 -> 1.5.0-beta01 Gradle wrapper 9.5.1 -> 9.6.1 gradle/actions v6 -> v6.2.0 Verified with :app:compileDebugKotlin and :app:testDebugUnitTest.
Summary
Testing
Fixes [Bug]: Cutting off the beginnings of songs? #71