summaryrefslogtreecommitdiff
path: root/src/multimediakit/audio/audio.pri
diff options
context:
space:
mode:
authorMichael Goddard <michael.goddard@nokia.com>2011-06-29 13:38:46 +1000
committerMichael Goddard <michael.goddard@nokia.com>2011-06-29 13:38:46 +1000
commit2a34e88c1e1ced28e75c487cd13402e1c9cf9fa3 (patch)
treee6c1b770c5c47212792a1f9344fa034ea3e54c44 /src/multimediakit/audio/audio.pri
downloadqtmultimedia-2a34e88c1e1ced28e75c487cd13402e1c9cf9fa3.tar.gz
Initial copy of QtMultimediaKit.
Comes from original repo, with SHA1: 2c82d5611655e5967f5c5095af50c0991c4378b2
Diffstat (limited to 'src/multimediakit/audio/audio.pri')
-rw-r--r--src/multimediakit/audio/audio.pri79
1 files changed, 79 insertions, 0 deletions
diff --git a/src/multimediakit/audio/audio.pri b/src/multimediakit/audio/audio.pri
new file mode 100644
index 000000000..19163d4fc
--- /dev/null
+++ b/src/multimediakit/audio/audio.pri
@@ -0,0 +1,79 @@
+INCLUDEPATH += audio
+
+PUBLIC_HEADERS += audio/qaudio.h \
+ audio/qaudioformat.h \
+ audio/qaudioinput.h \
+ audio/qaudiooutput.h \
+ audio/qaudiodeviceinfo.h \
+ audio/qaudiosystemplugin.h \
+ audio/qaudiosystem.h
+
+PRIVATE_HEADERS += audio/qaudiodevicefactory_p.h audio/qaudiopluginloader_p.h
+
+
+SOURCES += audio/qaudio.cpp \
+ audio/qaudioformat.cpp \
+ audio/qaudiodeviceinfo.cpp \
+ audio/qaudiooutput.cpp \
+ audio/qaudioinput.cpp \
+ audio/qaudiosystemplugin.cpp \
+ audio/qaudiosystem.cpp \
+ audio/qaudiodevicefactory.cpp \
+ audio/qaudiopluginloader.cpp
+
+mac {
+ PRIVATE_HEADERS += audio/qaudioinput_mac_p.h \
+ audio/qaudiooutput_mac_p.h \
+ audio/qaudiodeviceinfo_mac_p.h \
+ audio/qaudio_mac_p.h
+
+ SOURCES += audio/qaudiodeviceinfo_mac_p.cpp \
+ audio/qaudiooutput_mac_p.cpp \
+ audio/qaudioinput_mac_p.cpp \
+ audio/qaudio_mac.cpp
+
+ LIBS += -framework ApplicationServices -framework CoreAudio -framework AudioUnit -framework AudioToolbox
+}
+
+win32 {
+ PRIVATE_HEADERS += audio/qaudioinput_win32_p.h audio/qaudiooutput_win32_p.h audio/qaudiodeviceinfo_win32_p.h
+ SOURCES += audio/qaudiodeviceinfo_win32_p.cpp \
+ audio/qaudiooutput_win32_p.cpp \
+ audio/qaudioinput_win32_p.cpp
+ !wince*:LIBS += -lwinmm
+ wince*:LIBS += -lcoredll
+ LIBS += -lstrmiids -lole32 -loleaut32
+}
+
+symbian {
+ INCLUDEPATH += $${EPOCROOT}epoc32/include/mmf/common
+ INCLUDEPATH += $${EPOCROOT}epoc32/include/mmf/server
+
+ PRIVATE_HEADERS += audio/qaudio_symbian_p.h \
+ audio/qaudiodeviceinfo_symbian_p.h \
+ audio/qaudioinput_symbian_p.h \
+ audio/qaudiooutput_symbian_p.h
+
+ SOURCES += audio/qaudio_symbian_p.cpp \
+ audio/qaudiodeviceinfo_symbian_p.cpp \
+ audio/qaudioinput_symbian_p.cpp \
+ audio/qaudiooutput_symbian_p.cpp
+
+ LIBS += -lmmfdevsound
+}
+
+unix:!mac:!symbian {
+ contains(pulseaudio_enabled, yes) {
+ DEFINES += QT_NO_AUDIO_BACKEND
+ }
+ else:contains(QT_CONFIG, alsa) {
+ linux-*|freebsd-*|openbsd-* {
+ DEFINES += HAS_ALSA
+ PRIVATE_HEADERS += audio/qaudiooutput_alsa_p.h audio/qaudioinput_alsa_p.h audio/qaudiodeviceinfo_alsa_p.h
+ SOURCES += audio/qaudiodeviceinfo_alsa_p.cpp \
+ audio/qaudiooutput_alsa_p.cpp \
+ audio/qaudioinput_alsa_p.cpp
+ LIBS_PRIVATE += -lasound
+ }
+ }
+}