From 28529b546c48b7eeec5f0ae90b7ec330c4828dcb Mon Sep 17 00:00:00 2001 From: badaix Date: Fri, 29 Nov 2024 20:00:17 +0100 Subject: [PATCH] Use Oboe player for API level 16+ --- Snapcast/build.gradle | 4 ++-- .../main/java/de/badaix/snapcast/SnapclientService.java | 2 +- changelog.md | 8 ++++++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Snapcast/build.gradle b/Snapcast/build.gradle index 7f16f29..8848f88 100644 --- a/Snapcast/build.gradle +++ b/Snapcast/build.gradle @@ -7,8 +7,8 @@ android { applicationId "de.badaix.snapcast" minSdkVersion 21 targetSdkVersion 34 - versionCode 2901 - versionName '0.29.0.1' + versionCode 2902 + versionName '0.29.0.2' multiDexEnabled true vectorDrawables.useSupportLibrary = true externalNativeBuild { diff --git a/Snapcast/src/main/java/de/badaix/snapcast/SnapclientService.java b/Snapcast/src/main/java/de/badaix/snapcast/SnapclientService.java index 25fe786..ba63b33 100644 --- a/Snapcast/src/main/java/de/badaix/snapcast/SnapclientService.java +++ b/Snapcast/src/main/java/de/badaix/snapcast/SnapclientService.java @@ -210,7 +210,7 @@ private void startProcess() throws IOException { else if (configuredEngine.equals("Oboe")) player = "oboe"; else { - if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) + if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN) player = "opensl"; else player = "oboe"; diff --git a/changelog.md b/changelog.md index 7568fec..295f14c 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,11 @@ +# Version 0.29.0.2 + +## Bugfixes + +- Use Oboe player for API level 16+ (was OpenSL for 16+ and Oboe for 26+) + +_Johannes Pohl Sun, 24 Nov 2024 00:13:37 +0200_ + # Version 0.29.0.1 ## Bugfixes