diff --git a/CHANGELOG.md b/CHANGELOG.md index c6e8730..a507449 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -64,7 +64,7 @@ First public release of **Chom Bev e Brezhoneg**. - Targets Android, iOS, Desktop (JVM) and Web (JS + Wasm), all sharing the same Compose Multiplatform UI. Only Android has been deeply tested for this version. - Audio playback backed by ExoPlayer (Android), AVFoundation (iOS), the browser - audio APIs (Web) and VorbisSPI (Desktop). + audio APIs (Web). - Light and dark themes; interface localised in French and Breton. - Modular architecture: `core`, `data` and `feature` modules glued by a thin `shared` module, with Koin dependency injection validated at build time. diff --git a/core/audioplayer/build.gradle.kts b/core/audioplayer/build.gradle.kts index 11e4918..c19c823 100644 --- a/core/audioplayer/build.gradle.kts +++ b/core/audioplayer/build.gradle.kts @@ -13,10 +13,6 @@ kotlin { implementation(libs.media3.exoplayer) implementation(libs.media3.common) } - jvmMain.dependencies { - // Desktop audio: Ogg Vorbis SPI so javax.sound.sampled can decode .ogg - implementation(libs.vorbisspi) - } // webMain is the js + wasmJs intermediate source set from the default hierarchy template. webMain.dependencies { // Browser audio (HTMLAudioElement, document) for js + wasmJs diff --git a/core/audioplayer/src/jvmMain/kotlin/bzh/ajaury/chombev/player/data/JvmAudioPlayer.kt b/core/audioplayer/src/jvmMain/kotlin/bzh/ajaury/chombev/player/data/JvmAudioPlayer.kt index 5100852..be644c4 100644 --- a/core/audioplayer/src/jvmMain/kotlin/bzh/ajaury/chombev/player/data/JvmAudioPlayer.kt +++ b/core/audioplayer/src/jvmMain/kotlin/bzh/ajaury/chombev/player/data/JvmAudioPlayer.kt @@ -17,10 +17,6 @@ import kotlin.time.Duration.Companion.microseconds /** * Desktop [AudioPlayer] backed by [javax.sound.sampled]. - * - * The Ogg Vorbis recordings are decoded to PCM by the VorbisSPI providers on the classpath, which - * the JDK [AudioSystem] discovers automatically, so loading works the same as any natively - * supported format. */ internal class JvmAudioPlayer : AudioPlayer { private var clip: Clip? = null diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a2d471f..b624049 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -23,7 +23,6 @@ media3 = "1.11.0" navigation3 = "1.1.1" okio = "3.18.1" sentry = "0.27.0" -vorbisspi = "1.0.3.3" [libraries] # Gradle plugin artifacts, used by build-logic convention plugins only @@ -63,7 +62,6 @@ lifecycle-viewmodelNavigation3 = { module = "org.jetbrains.androidx.lifecycle:li media3-exoplayer = { module = "androidx.media3:media3-exoplayer", version.ref = "media3" } media3-common = { module = "androidx.media3:media3-common", version.ref = "media3" } navigation3 = { module = "org.jetbrains.androidx.navigation3:navigation3-ui", version.ref = "navigation3" } -vorbisspi = { module = "com.googlecode.soundlibs:vorbisspi", version.ref = "vorbisspi" } wrappers-browser = { module = "org.jetbrains.kotlin-wrappers:kotlin-browser", version.ref = "kotlinWrappers" } [plugins]