changed some Jamulus settings

This commit is contained in:
Volker Fischer 2019-09-28 14:28:51 +02:00
parent b153d83654
commit 730f67522d

View file

@ -81,10 +81,12 @@ make -j${NCORES}
ADEVICE=$(aplay -l|grep "USB Audio"|head -1|cut -d' ' -f3) ADEVICE=$(aplay -l|grep "USB Audio"|head -1|cut -d' ' -f3)
echo "Using USB audio device: ${ADEVICE}" echo "Using USB audio device: ${ADEVICE}"
# write Jamulus ini file for setting the client name # write Jamulus ini file for setting the client name and buffer settings
JAMULUSINIFILE="Jamulus.ini" JAMULUSINIFILE="Jamulus.ini"
NAME64=$(echo "Raspi $(hostname)"|cut -c -15|tr -d $'\n'|base64) NAME64=$(echo "Raspi $(hostname)"|cut -c -15|tr -d $'\n'|base64)
echo -e "<client>\n <name_base64>${NAME64}</name_base64>\n</client>" > ${JAMULUSINIFILE} echo -e "<client>\n <name_base64>${NAME64}</name_base64>" > ${JAMULUSINIFILE}
echo -e " <autojitbuf>0</autojitbuf>\n <jitbuf>3</jitbuf>\n <jitbufserver>3</jitbufserver>" >> ${JAMULUSINIFILE}
echo -e " <audiochannels>2</audiochannels>\n <audioquality>1</audioquality>\n</client>" >> ${JAMULUSINIFILE}
# start Jack2 and Jamulus in headless mode # start Jack2 and Jamulus in headless mode
export LD_LIBRARY_PATH="distributions/${OPUS}/.libs:distributions/jack2/build:distributions/jack2/build/common" export LD_LIBRARY_PATH="distributions/${OPUS}/.libs:distributions/jack2/build:distributions/jack2/build/common"