From 0a5afc8767339beafc58d5f4a42c8285d1f61992 Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Sat, 25 Jul 2020 13:33:31 -0400 Subject: [PATCH] Fix dmenurecord breakage (#773) * Fixes breakage Referencing issue * Missed an alsa reference --- .local/bin/dmenurecord | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/dmenurecord b/.local/bin/dmenurecord index 49a2fbf..5d5e851 100755 --- a/.local/bin/dmenurecord +++ b/.local/bin/dmenurecord @@ -33,7 +33,7 @@ screencast() { \ -framerate 60 \ -s "$(xdpyinfo | grep dimensions | awk '{print $2;}')" \ -i "$DISPLAY" \ - -f alsa -i default \ + -f pulseaudio -i default \ -r 30 \ -c:v h264 -crf 0 -preset ultrafast -c:a aac \ "$HOME/screencast-$(date '+%y%m%d-%H%M-%S').mp4" & @@ -72,7 +72,7 @@ webcam() { ffmpeg \ audio() { \ ffmpeg \ - -f alsa -i default \ + -f pulseaudio -i default \ -c:a flac \ "$HOME/audio-$(date '+%y%m%d-%H%M-%S').flac" & echo $! > /tmp/recordingpid