2011-04-23 12:16:18 +02:00
|
|
|
CONFIG += qt \
|
|
|
|
thread \
|
|
|
|
release
|
|
|
|
|
2013-01-08 16:51:44 +01:00
|
|
|
QT += widgets \
|
|
|
|
network \
|
2011-04-23 12:16:18 +02:00
|
|
|
xml
|
|
|
|
|
|
|
|
INCLUDEPATH += src \
|
|
|
|
libs/celt
|
|
|
|
|
|
|
|
DEFINES += USE_ALLOCA \
|
|
|
|
_REENTRANT \
|
|
|
|
_IS_QMAKE_CONFIG
|
|
|
|
|
|
|
|
win32 {
|
2011-04-23 17:57:26 +02:00
|
|
|
DEFINES -= UNICODE
|
2011-04-23 12:16:18 +02:00
|
|
|
HEADERS += windows/sound.h
|
2011-04-23 17:57:26 +02:00
|
|
|
SOURCES += windows/sound.cpp \
|
|
|
|
windows/ASIOSDK2/common/asio.cpp \
|
|
|
|
windows/ASIOSDK2/host/asiodrivers.cpp \
|
|
|
|
windows/ASIOSDK2/host/pc/asiolist.cpp
|
2011-04-23 18:16:44 +02:00
|
|
|
RC_FILE = windows/llcon.rc
|
2011-04-23 12:16:18 +02:00
|
|
|
INCLUDEPATH += windows/ASIOSDK2/common \
|
|
|
|
windows/ASIOSDK2/host \
|
|
|
|
windows/ASIOSDK2/host/pc \
|
2011-04-23 17:57:26 +02:00
|
|
|
libs/celt
|
|
|
|
LIBS += ole32.lib \
|
|
|
|
user32.lib \
|
|
|
|
advapi32.lib \
|
|
|
|
winmm.lib
|
2011-04-23 12:16:18 +02:00
|
|
|
} else:macx {
|
|
|
|
HEADERS += mac/sound.h
|
|
|
|
SOURCES += mac/sound.cpp
|
|
|
|
RC_FILE = mac/llcon.icns
|
|
|
|
CONFIG += x86 ppc
|
|
|
|
|
|
|
|
LIBS += -framework CoreFoundation \
|
|
|
|
-framework CoreServices \
|
|
|
|
-framework CoreAudio \
|
|
|
|
-framework AudioToolbox \
|
|
|
|
-framework AudioUnit
|
|
|
|
} else:unix {
|
2012-01-22 19:28:35 +01:00
|
|
|
# we assume that stdint.h is always present in a Linux system
|
|
|
|
DEFINES += HAVE_STDINT_H
|
2011-06-28 21:16:52 +02:00
|
|
|
|
2011-04-23 12:16:18 +02:00
|
|
|
# only include jack support if CONFIG nosound is not set
|
|
|
|
nosoundoption = $$find(CONFIG, "nosound")
|
|
|
|
count(nosoundoption, 0) {
|
|
|
|
message(Jack Audio Interface Enabled.)
|
|
|
|
|
|
|
|
HEADERS += linux/sound.h
|
|
|
|
SOURCES += linux/sound.cpp
|
|
|
|
DEFINES += WITH_SOUND
|
|
|
|
LIBS += -ljack
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
RCC_DIR = src/res
|
|
|
|
RESOURCES += src/resources.qrc
|
|
|
|
|
|
|
|
FORMS += src/llconclientdlgbase.ui \
|
|
|
|
src/llconserverdlgbase.ui \
|
|
|
|
src/clientsettingsdlgbase.ui \
|
|
|
|
src/chatdlgbase.ui \
|
|
|
|
src/connectdlgbase.ui \
|
|
|
|
src/aboutdlgbase.ui
|
|
|
|
|
|
|
|
HEADERS += src/audiomixerboard.h \
|
|
|
|
src/buffer.h \
|
|
|
|
src/channel.h \
|
|
|
|
src/chatdlg.h \
|
|
|
|
src/client.h \
|
|
|
|
src/clientsettingsdlg.h \
|
|
|
|
src/connectdlg.h \
|
|
|
|
src/global.h \
|
|
|
|
src/llconclientdlg.h \
|
|
|
|
src/llconserverdlg.h \
|
|
|
|
src/multicolorled.h \
|
|
|
|
src/multicolorledbar.h \
|
|
|
|
src/protocol.h \
|
|
|
|
src/server.h \
|
|
|
|
src/serverlist.h \
|
|
|
|
src/serverlogging.h \
|
|
|
|
src/settings.h \
|
|
|
|
src/socket.h \
|
|
|
|
src/soundbase.h \
|
|
|
|
src/testbench.h \
|
|
|
|
src/util.h \
|
|
|
|
libs/celt/celt.h \
|
|
|
|
libs/celt/celt_types.h \
|
|
|
|
libs/celt/celt_header.h \
|
|
|
|
libs/celt/_kiss_fft_guts.h \
|
|
|
|
libs/celt/arch.h \
|
|
|
|
libs/celt/bands.h \
|
|
|
|
libs/celt/fixed_c5x.h \
|
|
|
|
libs/celt/fixed_c6x.h \
|
|
|
|
libs/celt/cwrs.h \
|
|
|
|
libs/celt/ecintrin.h \
|
|
|
|
libs/celt/entcode.h \
|
|
|
|
libs/celt/entdec.h \
|
|
|
|
libs/celt/entenc.h \
|
|
|
|
libs/celt/fixed_generic.h \
|
|
|
|
libs/celt/float_cast.h \
|
|
|
|
libs/celt/kfft_double.h \
|
|
|
|
libs/celt/kfft_single.h \
|
|
|
|
libs/celt/kiss_fft.h \
|
|
|
|
libs/celt/kiss_fftr.h \
|
|
|
|
libs/celt/laplace.h \
|
|
|
|
libs/celt/mdct.h \
|
|
|
|
libs/celt/mfrngcod.h \
|
|
|
|
libs/celt/mathops.h \
|
|
|
|
libs/celt/modes.h \
|
|
|
|
libs/celt/os_support.h \
|
|
|
|
libs/celt/pitch.h \
|
|
|
|
libs/celt/psy.h \
|
|
|
|
libs/celt/quant_bands.h \
|
|
|
|
libs/celt/rate.h \
|
|
|
|
libs/celt/stack_alloc.h \
|
|
|
|
libs/celt/vq.h
|
|
|
|
|
|
|
|
SOURCES += src/audiomixerboard.cpp \
|
|
|
|
src/buffer.cpp \
|
|
|
|
src/channel.cpp \
|
|
|
|
src/chatdlg.cpp \
|
|
|
|
src/client.cpp \
|
|
|
|
src/clientsettingsdlg.cpp \
|
|
|
|
src/connectdlg.cpp \
|
|
|
|
src/llconclientdlg.cpp \
|
|
|
|
src/llconserverdlg.cpp \
|
|
|
|
src/main.cpp \
|
|
|
|
src/multicolorled.cpp \
|
|
|
|
src/multicolorledbar.cpp \
|
|
|
|
src/protocol.cpp \
|
|
|
|
src/server.cpp \
|
|
|
|
src/serverlist.cpp \
|
|
|
|
src/serverlogging.cpp \
|
|
|
|
src/settings.cpp \
|
|
|
|
src/socket.cpp \
|
|
|
|
src/soundbase.cpp \
|
|
|
|
src/util.cpp \
|
|
|
|
libs/celt/bands.c \
|
|
|
|
libs/celt/celt.c \
|
|
|
|
libs/celt/cwrs.c \
|
|
|
|
libs/celt/entcode.c \
|
|
|
|
libs/celt/entdec.c \
|
|
|
|
libs/celt/entenc.c \
|
|
|
|
libs/celt/header.c \
|
|
|
|
libs/celt/kfft_single.c \
|
|
|
|
libs/celt/_kiss_fft.c \
|
|
|
|
libs/celt/_kiss_fftr.c \
|
|
|
|
libs/celt/laplace.c \
|
|
|
|
libs/celt/mdct.c \
|
|
|
|
libs/celt/modes.c \
|
|
|
|
libs/celt/pitch.c \
|
|
|
|
libs/celt/psy.c \
|
|
|
|
libs/celt/quant_bands.c \
|
|
|
|
libs/celt/rangedec.c \
|
|
|
|
libs/celt/rangeenc.c \
|
|
|
|
libs/celt/rate.c \
|
|
|
|
libs/celt/vq.c
|
|
|
|
|
|
|
|
DISTFILES += AUTHORS \
|
|
|
|
ChangeLog \
|
|
|
|
COPYING \
|
|
|
|
INSTALL \
|
|
|
|
NEWS \
|
|
|
|
README \
|
|
|
|
TODO \
|
2011-06-28 21:07:24 +02:00
|
|
|
libs/celt/AUTHORS \
|
|
|
|
libs/celt/ChangeLog \
|
|
|
|
libs/celt/COPYING \
|
|
|
|
libs/celt/INSTALL \
|
|
|
|
libs/celt/NEWS \
|
|
|
|
libs/celt/README \
|
|
|
|
libs/celt/README_LLCON \
|
|
|
|
libs/celt/TODO \
|
2011-04-23 12:16:18 +02:00
|
|
|
src/res/CLEDBlack.png \
|
|
|
|
src/res/CLEDBlackSmall.png \
|
|
|
|
src/res/CLEDDisabledSmall.png \
|
|
|
|
src/res/CLEDGreen.png \
|
2011-05-06 22:19:30 +02:00
|
|
|
src/res/CLEDGreenArrow.png \
|
2011-04-23 12:16:18 +02:00
|
|
|
src/res/CLEDGreenSmall.png \
|
|
|
|
src/res/CLEDGrey.png \
|
2011-05-06 22:19:30 +02:00
|
|
|
src/res/CLEDGreyArrow.png \
|
2011-04-23 12:16:18 +02:00
|
|
|
src/res/CLEDGreySmall.png \
|
|
|
|
src/res/CLEDRed.png \
|
|
|
|
src/res/CLEDRedSmall.png \
|
|
|
|
src/res/CLEDYellow.png \
|
|
|
|
src/res/CLEDYellowSmall.png \
|
|
|
|
src/res/faderbackground.png \
|
|
|
|
src/res/faderhandle.png \
|
|
|
|
src/res/faderhandlesmall.png \
|
|
|
|
src/res/HLEDGreen.png \
|
|
|
|
src/res/HLEDGreenSmall.png \
|
|
|
|
src/res/HLEDGrey.png \
|
|
|
|
src/res/HLEDGreySmall.png \
|
|
|
|
src/res/HLEDRed.png \
|
|
|
|
src/res/HLEDRedSmall.png \
|
|
|
|
src/res/HLEDYellow.png \
|
|
|
|
src/res/HLEDYellowSmall.png \
|
|
|
|
src/res/ledbuttonnotpressed.png \
|
|
|
|
src/res/ledbuttonpressed.png \
|
|
|
|
src/res/llconfronticon.png \
|
|
|
|
src/res/logopicture.png \
|
|
|
|
src/res/mainicon.png \
|
|
|
|
src/res/mixerboardbackground.png \
|
|
|
|
src/res/VLEDBlack.png \
|
|
|
|
src/res/VLEDBlackSmall.png \
|
|
|
|
src/res/VLEDDisabledSmall.png \
|
|
|
|
src/res/VLEDGreen.png \
|
|
|
|
src/res/VLEDGreenSmall.png \
|
|
|
|
src/res/VLEDGrey.png \
|
|
|
|
src/res/VLEDGreySmall.png \
|
|
|
|
src/res/VLEDRed.png \
|
|
|
|
src/res/VLEDRedSmall.png \
|
|
|
|
src/res/VLEDYellow.png \
|
|
|
|
src/res/VLEDYellowSmall.png \
|
|
|
|
src/res/VRLEDBlack.png \
|
|
|
|
src/res/VRLEDBlackSmall.png \
|
|
|
|
src/res/VRLEDGreen.png \
|
|
|
|
src/res/VRLEDGreenSmall.png \
|
|
|
|
src/res/VRLEDGrey.png \
|
|
|
|
src/res/VRLEDGreySmall.png \
|
|
|
|
src/res/VRLEDRed.png \
|
|
|
|
src/res/VRLEDRedSmall.png \
|
|
|
|
src/res/VRLEDYellow.png \
|
|
|
|
src/res/VRLEDYellowSmall.png
|