News

SMF - Just Installed!

Startjack and Startpulse

Ampera · 2281

Ampera

  • Administrator
  • Newbie
  • *****
    • Posts: 12
    • View Profile
on: August 30, 2019, 12:41:48 am
Scripts

Code: [Select]
#!/bin/bash

if [ "$(pgrep jackd)" == "" ]
then
jackd -r -d alsa -r 48000 &
sleep 5
qjackctl &
fi

Code: [Select]
#!/bin/bash

sleep 3

if [ "$(pgrep pulseaudio)" == "" ]
then
pulseaudio &
sleep 2
pactl load-module module-jack-sink channels=2
sleep 1
pactl load-module module-jack-source channels=2
fi



 

SimplePortal 2.3.7 © 2008-2020, SimplePortal