pulseaudio-equalizer/0003-force-default-persistence-value.patch

12 lines
412 B
Diff

--- a/usr/bin/pulseaudio-equalizer
+++ b/usr/bin/pulseaudio-equalizer
@@ -133,6 +133,8 @@ fi
if [ -f "$PULSE_DIR/default.pa" ]; then
if [ "$(cat "$PULSE_DIR/default.pa" | grep -m1 "### BEGIN: Equalized audio configuration")" = "### BEGIN: Equalized audio configuration" ]; then
PA_EQUALIZER_PERSISTENCE=1
+ else
+ PA_EQUALIZER_PERSISTENCE=0
fi
else
PA_EQUALIZER_PERSISTENCE=0