use last USB audio device instead of the very first one

This commit is contained in:
Volker Fischer 2020-03-09 20:19:45 +00:00
parent 1a45d6b095
commit 51ae9720d1

View file

@ -79,7 +79,7 @@ qmake "CONFIG+=opus_shared_lib" "INCLUDEPATH+=distributions/${OPUS}/include" "QM
make -j${NCORES} make -j${NCORES}
# get first USB audio sound card device # get first USB audio sound card device
ADEVICE=$(aplay -l|grep "USB Audio"|head -1|cut -d' ' -f3) ADEVICE=$(aplay -l|grep "USB Audio"|tail -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 and buffer settings # write Jamulus ini file for setting the client name and buffer settings