From 75e8f41642c1beeee2c43c7ba11ca9e13e4a2b9d Mon Sep 17 00:00:00 2001 From: gobo72 Date: Thu, 11 Nov 2010 19:56:16 +0000 Subject: [PATCH] =?utf8?q?Cr=C3=A9ation=20du=20fichier=20de=20configuratio?= =?utf8?q?n=20pulse=20avec=20Jack?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- ubuntu/ubuntu-cfg.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/ubuntu/ubuntu-cfg.sh b/ubuntu/ubuntu-cfg.sh index ff47021..73086c6 100755 --- a/ubuntu/ubuntu-cfg.sh +++ b/ubuntu/ubuntu-cfg.sh @@ -202,6 +202,20 @@ ${AGI} texlive texlive-latex-recommended texlive-latex-extra texlive-humanities # Multimedia ${AGI} jackd patchage ${AGI} pulseaudio-module-jack + +if [ ! -f ${HOME}/.pulse/pulsejack.pa ]; then + cp /etc/pulse/default.pa ${HOME}/.pulse/pulsejack.pa +fi + +if ! grep "load-module module-jack-source" ${HOME}/.pulse/pulsejack.pa 1> /dev/null 2>&1; then + cat >> ${HOME}/.pulse/pulsejack.pa << "EOF" + +### JACK setup (Hugo Villeneuve) +load-module module-jack-source +load-module module-jack-sink +EOF +fi + sudo adduser $(whoami) audio # /etc/security/limits.d/audio.conf -> set rtprio from 95 to 99 ??? -- 2.20.1