Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Update all dependencies #20

Merged
merged 1 commit into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {

android {
namespace = "com.eje_c.vsaplayer"
compileSdk = 33
compileSdk = 34
defaultConfig {
applicationId = "com.eje_c.vsaplayer"
minSdk = 21
Expand All @@ -32,7 +32,7 @@ android {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.4.4"
kotlinCompilerExtensionVersion = "1.5.5"
}
}

Expand Down
9 changes: 3 additions & 6 deletions app/src/main/java/com/eje_c/vsaplayer/VSAPlayer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import androidx.media3.common.Player
import androidx.media3.datasource.DefaultDataSource
import androidx.media3.exoplayer.DefaultRenderersFactory
import androidx.media3.exoplayer.ExoPlayer
import androidx.media3.exoplayer.audio.AudioCapabilities
import androidx.media3.exoplayer.audio.AudioSink
import androidx.media3.exoplayer.audio.DefaultAudioSink
import androidx.media3.exoplayer.source.ProgressiveMediaSource
Expand Down Expand Up @@ -47,11 +46,9 @@ class VSAPlayer(context: Context) : Player.Listener {
override fun buildAudioSink(
context: Context,
enableFloatOutput: Boolean,
enableAudioTrackPlaybackParams: Boolean,
enableOffload: Boolean
): AudioSink? {
return DefaultAudioSink.Builder()
.setAudioCapabilities(AudioCapabilities.DEFAULT_AUDIO_CAPABILITIES)
enableAudioTrackPlaybackParams: Boolean
): AudioSink {
return DefaultAudioSink.Builder(context)
.setAudioProcessors(arrayOf(audioProcessor))
.build()
}
Expand Down
16 changes: 8 additions & 8 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[versions]
activity-compose = "1.7.0"
androidGradlePlugin = "7.4.2"
activity-compose = "1.8.1"
androidGradlePlugin = "8.1.4"
androidxAppCompat = "1.6.1"
androidxCore = "1.10.0"
composeBom = "2023.04.00"
androidxCore = "1.12.0"
composeBom = "2023.10.01"
constraintlayout = "2.1.4"
gvraudio = "1.180.0"
joml = "1.10.5"
kotlin = "1.8.10"
lifecycle-runtime-ktx = "2.6.1"
material = "1.8.0"
media3 = "1.0.0"
kotlin = "1.9.20"
lifecycle-runtime-ktx = "2.6.2"
material = "1.10.0"
media3 = "1.2.0"

[libraries]
activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activity-compose" }
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists