2018-02-26 00:23:12 +01:00
|
|
|
--- a/usr/bin/pulseaudio-equalizer
|
|
|
|
+++ b/usr/bin/pulseaudio-equalizer
|
|
|
|
@@ -133,6 +133,8 @@ fi
|
2018-02-26 12:56:28 +01:00
|
|
|
if [ -f "$CONFIG_DIR/default.pa" ]; then
|
|
|
|
if [ "$(cat "$CONFIG_DIR/default.pa" | grep -m1 "### BEGIN: Equalized audio configuration")" = "### BEGIN: Equalized audio configuration" ]; then
|
2018-02-26 00:23:12 +01:00
|
|
|
PA_EQUALIZER_PERSISTENCE=1
|
2014-08-04 13:34:01 +02:00
|
|
|
+ else
|
2018-02-26 00:23:12 +01:00
|
|
|
+ PA_EQUALIZER_PERSISTENCE=0
|
|
|
|
fi
|
2014-08-04 13:34:01 +02:00
|
|
|
else
|
2018-02-26 00:23:12 +01:00
|
|
|
PA_EQUALIZER_PERSISTENCE=0
|