-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathQtRtAudio.pro
63 lines (46 loc) · 1.26 KB
/
QtRtAudio.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#-------------------------------------------------
#
# Project created by QtCreator 2019-05-20T18:10:54
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = QtRtAudio
TEMPLATE = app
CONFIG += c++11
DEFINES += _UNICODE
SOURCES += \
main.cpp \
mainwindow.cpp \
devicedialog.cpp
HEADERS += \
mainwindow.h \
devicedialog.h \
definitions.h
FORMS += \
mainwindow.ui \
devicedialog.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
INCLUDEPATH += ./RtAudio ./RtAudio/include
SOURCES += ./RtAudio/RtAudio.cpp
HEADERS += ./RtAudio/RtAudio.h
mac {
#RtMidi & RtAudio
DEFINES += __MACOSX_CORE__
LIBS += -framework CoreFoundation -framework CoreAudio
}
windows {
#RtAudio
DEFINES += __WINDOWS_DS__
DEFINES += __WINDOWS_ASIO__
DEFINES += __WINDOWS_WASAPI__
SOURCES += \
./RtAudio/include/asio.cpp \
./RtAudio/include/asiodrivers.cpp \
./RtAudio/include/asiolist.cpp \
./RtAudio/include/iasiothiscallresolver.cpp
LIBS += -lwinmm -ldsound -lole32 -lgdi32 -luser32 -lAdvapi32
}