we can have up to 16 characters for the fader name

This commit is contained in:
Volker Fischer 2019-10-05 12:06:12 +01:00
parent 5bb5a48c7d
commit 600a4a544b

View file

@ -84,7 +84,7 @@ echo "Using USB audio device: ${ADEVICE}"
# write Jamulus ini file for setting the client name and buffer settings
JAMULUSINIFILE="Jamulus.ini"
NAME64=$(echo "Raspi $(hostname)"|cut -c -15|tr -d $'\n'|base64)
NAME64=$(echo "Raspi $(hostname)"|cut -c -16|tr -d $'\n'|base64)
if [ "$NCORES" -gt "1" ]; then
echo -e "<client>\n <name_base64>${NAME64}</name_base64>" > ${JAMULUSINIFILE}
echo -e " <autojitbuf>1</autojitbuf>\n <jitbuf>3</jitbuf>\n <jitbufserver>3</jitbufserver>" >> ${JAMULUSINIFILE}