From 73045c0471643f1e694f242af379fc628ec38739 Mon Sep 17 00:00:00 2001 From: ZhouYixun <291028775@qq.com> Date: Tue, 22 Feb 2022 21:45:20 +0800 Subject: [PATCH 1/2] addflush --- app/src/main/java/org/cloud/sonic/android/AudioService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/cloud/sonic/android/AudioService.java b/app/src/main/java/org/cloud/sonic/android/AudioService.java index 4a12199..faf12f2 100644 --- a/app/src/main/java/org/cloud/sonic/android/AudioService.java +++ b/app/src/main/java/org/cloud/sonic/android/AudioService.java @@ -291,6 +291,7 @@ public void onOutputBufferAvailable(@NonNull MediaCodec codec, int outputBufferI if (outputStream!=null){ try { outputStream.write(oneADTSFrameBytes,0,oneADTSFrameBytes.length); + outputStream.flush(); } catch (IOException e) { stopSelf(); e.printStackTrace(); From c5d81a51b77b761103faf29e8a3d57224419f748 Mon Sep 17 00:00:00 2001 From: ZhouYixun <291028775@qq.com> Date: Thu, 24 Feb 2022 21:33:35 +0800 Subject: [PATCH 2/2] release --- app/build.gradle | 2 +- app/src/main/res/values/strings.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 042784b..b5be7af 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -22,7 +22,7 @@ android { minSdkVersion 16 targetSdkVersion 30 versionCode 20 - versionName "1.3.1" + versionName "1.3.2" applicationId "org.cloud.sonic.android" } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 96388ba..8fd9c0e 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,6 +1,6 @@ Sonic助手 - 版本号:v1.3.1.20 + 版本号:v1.3.2.20 欢迎使用Sonic助手 Sonic Service running Sonic Service