From b2710cffac0c2b1a9e367ac361271242d730140a Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 16 Mar 2022 15:08:35 +0100 Subject: zsh: Use system device for mpv .config/zsh/includes/aliases.zsh: When targetting the JACK backend use the generic "system" device. --- .config/zsh/includes/aliases.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.config/zsh') diff --git a/.config/zsh/includes/aliases.zsh b/.config/zsh/includes/aliases.zsh index 5d0f880..a0ba72d 100644 --- a/.config/zsh/includes/aliases.zsh +++ b/.config/zsh/includes/aliases.zsh @@ -49,9 +49,9 @@ for index ({1..9}) alias "$index"="cd +${index}"; unset index #MPLAYER alias mplayer='mplayer -ao jack,pulse,alsa' if pgrep Xwayland > /dev/null; then - alias mpv='mpv --audio-channels=stereo --cache=yes --gpu-context=wayland -ao=jack,pulse,alsa --sub-auto=fuzzy --jack-port="Fireface 800 Pro:playback_*"' + alias mpv='mpv --audio-channels=stereo --cache=yes --gpu-context=wayland -ao=jack,pulse,alsa --sub-auto=fuzzy --jack-port="system:playback_*"' else - alias mpv='mpv --audio-channels=stereo --cache=yes -ao=jack,pulse,alsa --sub-auto=fuzzy --jack-port="Fireface 800 Pro:playback_*"' + alias mpv='mpv --audio-channels=stereo --cache=yes -ao=jack,pulse,alsa --sub-auto=fuzzy --jack-port="system:playback_*"' fi if [[ "$VENDOR" == "apple" ]]; then alias mpv='mpv --sub-auto=fuzzy' -- cgit v1.2.3-70-g09d2