1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 07:19:02 -08:00

use lavfi for ladspa

This commit is contained in:
Connor Olding 2015-12-03 05:52:31 -08:00
parent 844a693a24
commit d7a8c53ffd

View file

@ -126,12 +126,12 @@ _M_KILL="$_M_STEREO,$_M_PRE_EMPH,$_M_COMPRESS,$_M_POST_EMPH"
crap_speakers='crap_eq_const_T420' crap_speakers='crap_eq_const_T420'
[ -e "/usr/lib/ladspa/${crap_speakers}.so" ] \ [ -e "/usr/lib/ladspa/${crap_speakers}.so" ] \
&& _M_SPEAKERS="ladspa=file=${crap_speakers}.so:label=$crap_speakers" && _M_SPEAKERS="ladspa=f=${crap_speakers}:p=$crap_speakers"
if [[ "$(uname -n)" != "banshee" ]]; then if [[ "$(uname -n)" != "banshee" ]]; then
MPV_STREAM_FLAGS="--quiet --no-sub --vo=opengl:swapinterval=0" MPV_STREAM_FLAGS="--quiet --no-sub --vo=opengl:swapinterval=0"
else else
MPV_STREAM_FLAGS="--quiet --no-sub --af=lavfi=[$_M_KILL],$_M_SPEAKERS,lavfi=[$_M_LIMIT]" MPV_STREAM_FLAGS="--quiet --no-sub --af=lavfi=[$_M_KILL,$_M_SPEAKERS,$_M_LIMIT]"
fi fi
LIVESTREAMER_FLAGS="" LIVESTREAMER_FLAGS=""