Skip to content

Commit

Permalink
更新V1.5.7
Browse files Browse the repository at this point in the history
优化使用体验,后面忘了
  • Loading branch information
mingzhixian committed Apr 24, 2024
1 parent 9cfbf94 commit 0f864a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions easycontrol/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "top.saymzx.easycontrol.app"
minSdk 21
targetSdk 34
versionCode 10506
versionName "1.5.6"
versionCode 10507
versionName "1.5.7"
ndk {
abiFilters "arm64-v8a", "armeabi-v7a", "x86", "x86_64"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ private void setAudioTrack() {
// 创建音频放大器
private void setLoudnessEnhancer() {
loudnessEnhancer = new LoudnessEnhancer(audioTrack.getAudioSessionId());
loudnessEnhancer.setTargetGain(2800);
loudnessEnhancer.setTargetGain(3000);
loudnessEnhancer.setEnabled(true);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ private static void setAudioEncodec() throws IOException {
MediaFormat encodecFormat = MediaFormat.createAudioFormat(codecMime, AudioCapture.SAMPLE_RATE, AudioCapture.CHANNELS);
encodecFormat.setInteger(MediaFormat.KEY_BIT_RATE, 128000);
encodecFormat.setInteger(MediaFormat.KEY_MAX_INPUT_SIZE, AudioCapture.AUDIO_PACKET_SIZE);
if (!useOpus) encodecFormat.setInteger(MediaFormat.KEY_AAC_PROFILE, MediaCodecInfo.CodecProfileLevel.AACObjectLC);
encedec.configure(encodecFormat, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE);
}

Expand Down

0 comments on commit 0f864a7

Please sign in to comment.