From 9803781eaf02dbf251bdb394b27583fec4284972 Mon Sep 17 00:00:00 2001 From: Freddy Feuerstein <55027065+FreddyFeuerstein@users.noreply.github.com> Date: Sun, 9 May 2021 23:14:15 +0200 Subject: [PATCH] Fixed audio bug (hopefully) --- webdesktop.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/webdesktop.sh b/webdesktop.sh index 1cf3c24..225a420 100644 --- a/webdesktop.sh +++ b/webdesktop.sh @@ -22,9 +22,6 @@ modprobe snd-dummy ; modprobe snd-aloop alsa reload alsa resume pulseaudio & -modprobe snd-aloop pcm_substreams=1 -echo "# .asoundrc" >> /etc/asound.conf -echo "pcm.!default { type plug slave.pcm "hw:Loopback,0,0" }" >> /etc/asound.conf mkdir /root/noVNC/app/desktopaudio/ cd /root/noVNC/app/desktopaudio/ ffmpeg -hide_banner -loglevel error -nostdin -f alsa -channels 2 -sample_rate 44100 -i hw:Loopback,1,0 -map 0 -codec:a aac -f ssegment -segment_list stream.m3u -segment_list_flags +live -segment_time 10 out%03d.ts &