From: gobo72 Date: Thu, 11 Nov 2010 19:56:16 +0000 (+0000) Subject: Création du fichier de configuration pulse avec Jack X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=75e8f41642c1beeee2c43c7ba11ca9e13e4a2b9d;p=hvlinux.git Création du fichier de configuration pulse avec Jack --- 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 ???