mirror of
https://github.com/Michatec/Radio.git
synced 2026-05-31 05:22:40 +02:00
feat(audio): add native audio processing and Google Cast support
This commit is contained in:
@@ -277,4 +277,13 @@ object PreferencesHelper {
|
||||
fun loadEqMid(): Float = sharedPreferences.getInt(Keys.PREF_EQ_MID, 0).toFloat()
|
||||
fun loadEqHigh(): Float = sharedPreferences.getInt(Keys.PREF_EQ_HIGH, 0).toFloat()
|
||||
|
||||
/* Resets Equalizer settings to default */
|
||||
fun resetEqualizer() {
|
||||
sharedPreferences.edit {
|
||||
putInt(Keys.PREF_EQ_LOW, 0)
|
||||
putInt(Keys.PREF_EQ_MID, 0)
|
||||
putInt(Keys.PREF_EQ_HIGH, 0)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user