Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 18 additions & 13 deletions Jamulus.pro
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,10 @@ win32 {
error("Error: jack.h was not found in the expected location ($${programfilesdir}). Ensure that the right JACK2 variant is installed (32bit vs. 64bit).")
}

HEADERS += linux/sound.h
SOURCES += linux/sound.cpp
HEADERS += linux/sound.h \
linux/jackclient.h
SOURCES += linux/sound.cpp \
linux/jackclient.cpp
DEFINES += WITH_JACK
DEFINES += JACK_ON_WINDOWS
DEFINES += _STDINT_H # supposed to solve compilation error in systemdeps.h
Expand All @@ -130,14 +132,12 @@ win32 {
}
# Important: Keep those ASIO includes local to this build target in
# order to avoid poisoning other builds license-wise.
HEADERS += windows/sound.h
HEADERS += windows/sound.h \
windows/asiodriver.h \
windows/asiosys.h
SOURCES += windows/sound.cpp \
windows/ASIOSDK2/common/asio.cpp \
windows/ASIOSDK2/host/asiodrivers.cpp \
windows/ASIOSDK2/host/pc/asiolist.cpp
INCLUDEPATH += windows/ASIOSDK2/common \
windows/ASIOSDK2/host \
windows/ASIOSDK2/host/pc
windows/asiodriver.cpp
INCLUDEPATH += windows/ASIOSDK2/common
}
}

Expand Down Expand Up @@ -194,8 +194,10 @@ win32 {
error("Error: jack.h was not found at the usual place, maybe jack is not installed")
}
}
HEADERS += linux/sound.h
SOURCES += linux/sound.cpp
HEADERS += linux/sound.h \
linux/jackclient.h
SOURCES += linux/sound.cpp \
linux/jackclient.cpp
DEFINES += WITH_JACK
DEFINES += JACK_REPLACES_COREAUDIO
INCLUDEPATH += /usr/local/include
Expand Down Expand Up @@ -283,8 +285,11 @@ win32 {
} else {
message(Jack Audio Interface Enabled.)

HEADERS += linux/sound.h
SOURCES += linux/sound.cpp
HEADERS += linux/sound.h \
linux/jackclient.h

SOURCES += linux/sound.cpp \
linux/jackclient.cpp

contains(CONFIG, "raspijamulus") {
message(Using Jack Audio in raspijamulus.sh mode.)
Expand Down
Loading