0.2.42 - DTS surround sound support
This commit is contained in:
+16
-4
@@ -136,10 +136,6 @@ android {
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = "17"
|
||||
}
|
||||
|
||||
buildFeatures {
|
||||
compose = true
|
||||
buildConfig = true
|
||||
@@ -173,6 +169,16 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
// Outside `android { }` on purpose: the Kotlin compiler's own settings belong to the Kotlin
|
||||
// plugin, not to AGP's extension, which is why `kotlinOptions` inside it is deprecated.
|
||||
// Keep in step with compileOptions above — a jvmTarget below the Java target fails the
|
||||
// build the moment Kotlin has to read a class Java compiled.
|
||||
kotlin {
|
||||
compilerOptions {
|
||||
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
val composeBom = platform("androidx.compose:compose-bom:2024.12.01")
|
||||
implementation(composeBom)
|
||||
@@ -227,6 +233,12 @@ dependencies {
|
||||
// media3's own HttpURLConnection client — see ui/player/PlayerEngine.kt.
|
||||
implementation("androidx.media3:media3-datasource-okhttp:1.5.1")
|
||||
|
||||
// Moonfin's Android TV backend keeps a software audio renderer behind Media3 so a
|
||||
// surround track that is not bitstreamed is decoded to PCM instead of making the
|
||||
// server re-encode the video beside it. This build targets Media3 1.5.x; Jellyfin's
|
||||
// 1.5.0 extension is the matching published binary for that line.
|
||||
implementation("org.jellyfin.media3:media3-ffmpeg-decoder:1.5.0+1")
|
||||
|
||||
// Software-decoding fallback after Media3 exhausts its codec/container recovery.
|
||||
// Kept out of the normal path: Android TV still gets hardware decode, passthrough,
|
||||
// the full Memby OSD and the pre-roll from Media3 whenever the device can play it.
|
||||
|
||||
Reference in New Issue
Block a user