author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Fri, 19 Feb 2010 23:40:16 +0200 | |
branch | RCL_3 |
changeset 4 | 3b1da2848fc7 |
parent 3 | 41300fa6a67c |
child 7 | 3f74d0d4af4c |
permissions | -rw-r--r-- |
0 | 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 |
||
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
20 |
contains(QT_CONFIG, audio-backend) { |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
21 |
|
0 | 22 |
mac { |
23 |
HEADERS += $$PWD/qaudioinput_mac_p.h \ |
|
24 |
$$PWD/qaudiooutput_mac_p.h \ |
|
25 |
$$PWD/qaudiodeviceinfo_mac_p.h \ |
|
26 |
$$PWD/qaudio_mac_p.h |
|
27 |
||
28 |
SOURCES += $$PWD/qaudiodeviceinfo_mac_p.cpp \ |
|
29 |
$$PWD/qaudiooutput_mac_p.cpp \ |
|
30 |
$$PWD/qaudioinput_mac_p.cpp \ |
|
31 |
$$PWD/qaudio_mac.cpp |
|
32 |
||
33 |
LIBS += -framework ApplicationServices -framework CoreAudio -framework AudioUnit -framework AudioToolbox |
|
34 |
||
35 |
} else:win32 { |
|
36 |
||
37 |
HEADERS += $$PWD/qaudioinput_win32_p.h $$PWD/qaudiooutput_win32_p.h $$PWD/qaudiodeviceinfo_win32_p.h |
|
38 |
SOURCES += $$PWD/qaudiodeviceinfo_win32_p.cpp \ |
|
39 |
$$PWD/qaudiooutput_win32_p.cpp \ |
|
40 |
$$PWD/qaudioinput_win32_p.cpp |
|
41 |
!wince*:LIBS += -lwinmm |
|
42 |
wince*:LIBS += -lcoredll |
|
43 |
||
44 |
} else:unix { |
|
45 |
unix:contains(QT_CONFIG, alsa) { |
|
46 |
linux-*|freebsd-*|openbsd-*:{ |
|
47 |
DEFINES += HAS_ALSA |
|
48 |
HEADERS += $$PWD/qaudiooutput_alsa_p.h $$PWD/qaudioinput_alsa_p.h $$PWD/qaudiodeviceinfo_alsa_p.h |
|
49 |
SOURCES += $$PWD/qaudiodeviceinfo_alsa_p.cpp \ |
|
50 |
$$PWD/qaudiooutput_alsa_p.cpp \ |
|
51 |
$$PWD/qaudioinput_alsa_p.cpp |
|
52 |
LIBS_PRIVATE += -lasound |
|
53 |
} |
|
54 |
} |
|
55 |
} |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
56 |
} else { |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
57 |
DEFINES += QT_NO_AUDIO_BACKEND |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
58 |
} |