mirror of
https://github.com/notwa/rc
synced 2024-11-05 02:29:06 -08:00
give audio filters their own var
This commit is contained in:
parent
bd0d95ec39
commit
8208c41e51
1 changed files with 3 additions and 2 deletions
|
@ -26,11 +26,12 @@ _M_LEVEL="$REPLY"
|
|||
|
||||
_nn="$(uname -n | tr A-Z a-z)"
|
||||
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
|
||||
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
|
||||
MPV_STREAM_FLAGS+=" $_M_PROCESS"
|
||||
_nn=
|
||||
|
||||
watchstream() {
|
||||
|
|
Loading…
Reference in a new issue