Skip to content

Commit

Permalink
bump version to 3.3.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
zengxuhong committed Jul 29, 2016
1 parent 23f0f2e commit 4ab99f1
Show file tree
Hide file tree
Showing 24 changed files with 552 additions and 754 deletions.
5 changes: 5 additions & 0 deletions demo/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

66 changes: 1 addition & 65 deletions demo/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,157 changes: 488 additions & 669 deletions demo/.idea/workspace.xml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ dependencies {
}

android {
compileSdkVersion 21
buildToolsVersion "22.0.0"
compileSdkVersion 23
buildToolsVersion "21.1.2"

defaultConfig {
minSdkVersion 14
Expand Down
29 changes: 14 additions & 15 deletions demo/demo.iml
Original file line number Diff line number Diff line change
Expand Up @@ -44,37 +44,32 @@
<sourceFolder url="file://$MODULE_DIR$/build-types/debug/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/build-types/debug/jni" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/build-types/debug/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/build-types/debug/shaders" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/jni" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/shaders" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/res" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/assets" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/jni" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/shaders" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/jni" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/shaders" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/jni" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/shaders" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/jni" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/assets" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/blame" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/bundles" />
Expand All @@ -83,25 +78,29 @@
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dex-cache" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-v4/24.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental-classes" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental-runtime-classes" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental-safeguard" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental-verifier" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/instant-run-support" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/jniLibs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/manifests" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/pre-dexed" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/reload-dex" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/restart-dex" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/shaders" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/transforms" />
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
</content>
<orderEntry type="jdk" jdkName="Android API 21 Platform" jdkType="Android SDK" />
<orderEntry type="jdk" jdkName="Android API 23 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" exported="" name="ksylive3.0" level="project" />
<orderEntry type="library" exported="" name="libksyplayer" level="project" />
<orderEntry type="library" exported="" name="libksystat" level="project" />
<orderEntry type="library" exported="" name="support-annotations-24.0.0" level="project" />
<orderEntry type="library" exported="" name="ksylive3.0" level="project" />
<orderEntry type="library" exported="" name="support-v4-24.0.0" level="project" />
</component>
</module>
Binary file added demo/libs/armeabi-v7a/libaudio_effect.so
Binary file not shown.
Binary file modified demo/libs/armeabi-v7a/libksyplayer.so
Binary file not shown.
Binary file modified demo/libs/armeabi-v7a/libksystreamer.so
Binary file not shown.
Binary file modified demo/libs/ksylive3.0.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion demo/res/layout/camera_activity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
android:layout_gravity="top"
layout="@layout/camera_titlebar" />

<TextView
<EditText
android:id="@+id/url"
android:layout_width="match_parent"
android:layout_height="wrap_content"
Expand Down
14 changes: 14 additions & 0 deletions demo/res/layout/camera_bottombar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@
android:layout_marginBottom="10dp"
android:orientation="horizontal">

<CheckBox
android:id="@+id/pitch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginLeft="10dp"
android:layout_weight="1"
android:background="#11123456"
android:checked="false"
android:text="@string/pitch"
android:textColor="@color/font_color_35"
android:textSize="@dimen/font_size_28px">
</CheckBox>

<CheckBox
android:id="@+id/watermark"
android:layout_width="wrap_content"
Expand Down
1 change: 1 addition & 0 deletions demo/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<string name="click_to_shoot">开始直播</string>
<string name="beauty_switcher">美颜滤镜</string>
<string name="watermark">水印</string>
<string name="pitch">升降调</string>
<string name="mute">静音</string>
<string name="bgm">背景音乐</string>
<string name="ear_mirror">耳返</string>
Expand Down
19 changes: 19 additions & 0 deletions demo/src/com/ksy/recordlib/demo/CameraActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public class CameraActivity extends Activity {
private CheckBox mEarMirror;
private CheckBox mMuteAudio;
private CheckBox mWaterMark;
private CheckBox mPitch;
private TextView mShootingText;
private boolean recording = false;
private boolean isFlashOpened = false;
Expand Down Expand Up @@ -168,6 +169,7 @@ protected void onCreate(Bundle savedInstanceState) {
mEarMirror = (CheckBox) findViewById(R.id.ear_mirror);
mMuteAudio = (CheckBox) findViewById(R.id.mute);
mWaterMark = (CheckBox) findViewById(R.id.watermark);
mPitch = (CheckBox) findViewById(R.id.pitch);

audio_mix = mBgm.isChecked();
earMirror = mEarMirror.isChecked();
Expand Down Expand Up @@ -486,6 +488,22 @@ public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
}
});

mPitch.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
// 升降调,变速
if ( isChecked ) {
mStreamer.setEnableAudioEffect(true);
mStreamer.setPitch(-0.318f);
mStreamer.setSpeed(1 / 0.7f);
mStreamer.setTempo(0.7f);
}else{
mStreamer.setEnableAudioEffect(false);
}
}
});


mShootingText = (TextView) findViewById(R.id.click_to_shoot);
mShootingText.setClickable(true);
mShootingText.setOnClickListener(new View.OnClickListener() {
Expand All @@ -508,6 +526,7 @@ public void onClick(View arg0) {
mShootingText.postInvalidate();
recording = true;

// 混响
mStreamer.setEnableReverb(true);
mStreamer.setReverbLevel(4);
} else {
Expand Down
Binary file added libs/arm64-v8a/libaudio_effect.so
Binary file not shown.
Binary file modified libs/arm64-v8a/libksyplayer.so
Binary file not shown.
Binary file modified libs/arm64-v8a/libksystreamer.so
Binary file not shown.
Binary file added libs/armeabi-v7a/libaudio_effect.so
Binary file not shown.
Binary file modified libs/armeabi-v7a/libksyplayer.so
Binary file not shown.
Binary file modified libs/armeabi-v7a/libksystreamer.so
Binary file not shown.
Binary file modified libs/ksylive3.0.jar
Binary file not shown.
Binary file added libs/x86/libaudio_effect.so
Binary file not shown.
Binary file modified libs/x86/libksyplayer.so
Binary file not shown.
Binary file modified libs/x86/libksystreamer.so
Binary file not shown.
9 changes: 7 additions & 2 deletions release_note.txt
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,14 @@
104. 修复闪光灯开关多次点击才生效的问题;

2016-07-14 3.3.0.4
104. 修改某些机型上(小米3) 硬编450p以上分辨率 预览失效问题;
104. 修改某些机型上(小米3) 硬编450p以上分辨率 预览失效问题
105. 增加建立连接失败错误码

2016-07-18 3.3.0.5
106. 重构日志上报相关模块
107. 状态变更区分info和error
107. 状态变更区分info和error

2016-07-27 3.3.0.6
108. 解决米3手机720p软编推流崩溃
109. 升降调功能提测
110. 解决Google Play商店OpenSSL审核不过的问题

0 comments on commit 4ab99f1

Please sign in to comment.