update libs

This commit is contained in:
Alexey Kuznetsov 2022-02-27 17:29:14 +03:00
commit 2336f8f1c1
3 changed files with 6 additions and 3 deletions

View file

@ -53,8 +53,7 @@ android {
dependencies {
testImplementation 'junit:junit:4.12'
implementation ('com.github.axet:android-audio-library:1.0.180') { exclude module: 'android-library' } // implementation project(':android-audio-library')
implementation 'com.github.axet:android-library:1.34.12'
implementation ('com.github.axet:android-audio-library:1.1.1') { exclude module: 'android-library' } // implementation project(':android-audio-library')
implementation ('com.github.axet:wget:1.7.0') { exclude group: 'org.json', module: 'json' }
assets('com.google.android.exoplayer:exoplayer:2.7.3') { exclude group: 'com.android.support' }
}

View file

@ -190,6 +190,10 @@ public class SettingsActivity extends AppCompatSettingsThemeActivity implements
return true;
}
});
Preference af = pm.findPreference(AudioApplication.PREFERENCE_AUDIOFORMAT);
if (Build.VERSION.SDK_INT < 23 && af != null)
af.setVisible(false);
}
@Override

View file

@ -27,7 +27,7 @@
android:summary=""
android:title="@string/pref_source_title" />
<ListPreference
<com.github.axet.audiolibrary.widgets.SampleRatePreferenceCompat
android:defaultValue="16000"
android:entries="@array/sample_rate_text"
android:entryValues="@array/sample_rate_values"