fixes for raspijamulus.sh script
This commit is contained in:
parent
e15eaa3d19
commit
a7f1b0c7d8
2 changed files with 9 additions and 3 deletions
10
Jamulus.pro
10
Jamulus.pro
|
@ -145,8 +145,14 @@ win32 {
|
||||||
nosoundoption = $$find(CONFIG, "nosound")
|
nosoundoption = $$find(CONFIG, "nosound")
|
||||||
count(nosoundoption, 0) {
|
count(nosoundoption, 0) {
|
||||||
message(Jack Audio Interface Enabled.)
|
message(Jack Audio Interface Enabled.)
|
||||||
CONFIG += link_pkgconfig
|
|
||||||
PKGCONFIG += jack
|
contains(CONFIG, "raspijamulus") {
|
||||||
|
message(Using Jack Audio in raspijamulus.sh mode.)
|
||||||
|
LIBS += -ljack
|
||||||
|
} else {
|
||||||
|
CONFIG += link_pkgconfig
|
||||||
|
PKGCONFIG += jack
|
||||||
|
}
|
||||||
|
|
||||||
HEADERS += linux/sound.h
|
HEADERS += linux/sound.h
|
||||||
SOURCES += linux/sound.cpp
|
SOURCES += linux/sound.cpp
|
||||||
|
|
|
@ -75,7 +75,7 @@ fi
|
||||||
|
|
||||||
# compile Jamulus with external Opus library
|
# compile Jamulus with external Opus library
|
||||||
cd ..
|
cd ..
|
||||||
qmake "CONFIG+=opus_shared_lib" "INCLUDEPATH+=distributions/${OPUS}/include" "QMAKE_LIBDIR+=distributions/${OPUS}/.libs" "INCLUDEPATH+=distributions/jack2/common" "QMAKE_LIBDIR+=distributions/jack2/build/common" Jamulus.pro
|
qmake "CONFIG+=opus_shared_lib" "CONFIG+=raspijamulus" "INCLUDEPATH+=distributions/${OPUS}/include" "QMAKE_LIBDIR+=distributions/${OPUS}/.libs" "INCLUDEPATH+=distributions/jack2/common" "QMAKE_LIBDIR+=distributions/jack2/build/common" Jamulus.pro
|
||||||
make -j${NCORES}
|
make -j${NCORES}
|
||||||
|
|
||||||
# get first USB audio sound card device
|
# get first USB audio sound card device
|
||||||
|
|
Loading…
Reference in a new issue