From d28d6c3233929ed982bd6f6a43c51fb069591724 Mon Sep 17 00:00:00 2001 From: chihiro hashimoto Date: Wed, 8 Nov 2017 04:04:11 +0900 Subject: [PATCH 1/2] Change default sampling rate --- app/src/main/java/com/chrhsmt/sisheng/Settings.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/chrhsmt/sisheng/Settings.kt b/app/src/main/java/com/chrhsmt/sisheng/Settings.kt index de53b48..62097e9 100644 --- a/app/src/main/java/com/chrhsmt/sisheng/Settings.kt +++ b/app/src/main/java/com/chrhsmt/sisheng/Settings.kt @@ -46,7 +46,7 @@ object Settings { algorithm = PitchProcessor.PitchEstimationAlgorithm.YIN } if (force || Settings.samplingRate == null) { - samplingRate = context.resources.getIntArray(R.array.sampling_rates)[0] + samplingRate = context.resources.getIntArray(R.array.sampling_rates)[1] } if (force || Settings.sex == null) { sex = context.resources.getStringArray(R.array.sexes)[1] From 2a030603ebea632f83aac5b0e34687a1a9ab3d02 Mon Sep 17 00:00:00 2001 From: chihiro hashimoto Date: Wed, 8 Nov 2017 04:04:41 +0900 Subject: [PATCH 2/2] Bumped version 0.8.2 --- app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 564954f..c79403e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -21,7 +21,7 @@ android { minSdkVersion 23 targetSdkVersion 26 versionCode 1 - versionName "0.8.1" + versionName "0.8.2" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" // Enabling multidex support. multiDexEnabled true