|
1 HEADERS += $$PWD/qaudio.h \ |
|
2 $$PWD/qaudioformat.h \ |
|
3 $$PWD/qaudioinput.h \ |
|
4 $$PWD/qaudiooutput.h \ |
|
5 $$PWD/qaudiodeviceinfo.h \ |
|
6 $$PWD/qaudioengineplugin.h \ |
|
7 $$PWD/qaudioengine.h \ |
|
8 $$PWD/qaudiodevicefactory_p.h |
|
9 |
|
10 |
|
11 SOURCES += $$PWD/qaudio.cpp \ |
|
12 $$PWD/qaudioformat.cpp \ |
|
13 $$PWD/qaudiodeviceinfo.cpp \ |
|
14 $$PWD/qaudiooutput.cpp \ |
|
15 $$PWD/qaudioinput.cpp \ |
|
16 $$PWD/qaudioengineplugin.cpp \ |
|
17 $$PWD/qaudioengine.cpp \ |
|
18 $$PWD/qaudiodevicefactory.cpp |
|
19 |
|
20 mac { |
|
21 HEADERS += $$PWD/qaudioinput_mac_p.h \ |
|
22 $$PWD/qaudiooutput_mac_p.h \ |
|
23 $$PWD/qaudiodeviceinfo_mac_p.h \ |
|
24 $$PWD/qaudio_mac_p.h |
|
25 |
|
26 SOURCES += $$PWD/qaudiodeviceinfo_mac_p.cpp \ |
|
27 $$PWD/qaudiooutput_mac_p.cpp \ |
|
28 $$PWD/qaudioinput_mac_p.cpp \ |
|
29 $$PWD/qaudio_mac.cpp |
|
30 |
|
31 LIBS += -framework ApplicationServices -framework CoreAudio -framework AudioUnit -framework AudioToolbox |
|
32 |
|
33 } else:win32 { |
|
34 |
|
35 HEADERS += $$PWD/qaudioinput_win32_p.h $$PWD/qaudiooutput_win32_p.h $$PWD/qaudiodeviceinfo_win32_p.h |
|
36 SOURCES += $$PWD/qaudiodeviceinfo_win32_p.cpp \ |
|
37 $$PWD/qaudiooutput_win32_p.cpp \ |
|
38 $$PWD/qaudioinput_win32_p.cpp |
|
39 !wince*:LIBS += -lwinmm |
|
40 wince*:LIBS += -lcoredll |
|
41 |
|
42 } else:unix { |
|
43 unix:contains(QT_CONFIG, alsa) { |
|
44 linux-*|freebsd-*|openbsd-*:{ |
|
45 DEFINES += HAS_ALSA |
|
46 HEADERS += $$PWD/qaudiooutput_alsa_p.h $$PWD/qaudioinput_alsa_p.h $$PWD/qaudiodeviceinfo_alsa_p.h |
|
47 SOURCES += $$PWD/qaudiodeviceinfo_alsa_p.cpp \ |
|
48 $$PWD/qaudiooutput_alsa_p.cpp \ |
|
49 $$PWD/qaudioinput_alsa_p.cpp |
|
50 LIBS_PRIVATE += -lasound |
|
51 } |
|
52 } |
|
53 } |