refactor: simplify player state

This commit is contained in:
2026-07-01 17:44:07 +02:00
parent 6a590344de
commit c9b0b03ab9
8 changed files with 99 additions and 74 deletions
+3
View File
@@ -48,6 +48,9 @@ kotlin {
implementation(libs.vorbisspi)
}
commonMain.dependencies {
// Models (exposed through AudioPlayer's public API)
// api(projects.core.model)
// Coroutines
implementation(libs.kotlinx.coroutinesCore)
@@ -3,8 +3,7 @@ package fr.ajaury.gwenedeg.core.model
data class Record(
val id: Int,
val index: Int,
val title: String,
val titleTranslation: String? = null,
val title: Phrase,
val audioResourcePath: String,
val subtitleResourcePath: String,
val translationSubtitleResourcePath: String? = null,