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 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]