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

give audio filters their own var

This commit is contained in:
Connor Olding 2016-01-23 23:03:18 -08:00
parent bd0d95ec39
commit 8208c41e51

View file

@ -26,11 +26,12 @@ _M_LEVEL="$REPLY"
_nn="$(uname -n | tr A-Z a-z)" _nn="$(uname -n | tr A-Z a-z)"
if [[ "$_nn" == "spectre" ]]; then if [[ "$_nn" == "spectre" ]]; then
MPV_STREAM_FLAGS+=" --af=lavfi=[$_M_STEREO,$_M_KILL,alimiter=level_out=0.7071]" _M_PROCESS="--af=lavfi=[$_M_STEREO,$_M_KILL,alimiter=level_out=0.7071]"
fi fi
if [[ "$_nn" == "banshee" ]]; then if [[ "$_nn" == "banshee" ]]; then
MPV_STREAM_FLAGS+=" --af=lavfi=[$_M_STEREO,$_M_LEVEL,$_M_SPEAKERS,alimiter=level_in=0.5]" _M_PROCESS="--af=lavfi=[$_M_STEREO,$_M_LEVEL,$_M_SPEAKERS,alimiter=level_in=0.5]"
fi fi
MPV_STREAM_FLAGS+=" $_M_PROCESS"
_nn= _nn=
watchstream() { watchstream() {