diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2009-04-17 14:06:06 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2009-04-17 14:06:06 (GMT) |
commit | f15b8a83e2e51955776a3f07cb85ebfc342dd8ef (patch) | |
tree | c5dc684986051654898db11ce73e03b9fec8db99 /src/plugins/phonon | |
download | Qt-f15b8a83e2e51955776a3f07cb85ebfc342dd8ef.zip Qt-f15b8a83e2e51955776a3f07cb85ebfc342dd8ef.tar.gz Qt-f15b8a83e2e51955776a3f07cb85ebfc342dd8ef.tar.bz2 |
Initial import of statemachine branch from the old kinetic repository
Diffstat (limited to 'src/plugins/phonon')
-rw-r--r-- | src/plugins/phonon/ds9/ds9.pro | 60 | ||||
-rw-r--r-- | src/plugins/phonon/gstreamer/gstreamer.pro | 67 | ||||
-rw-r--r-- | src/plugins/phonon/phonon.pro | 9 | ||||
-rw-r--r-- | src/plugins/phonon/qt7/qt7.pro | 76 | ||||
-rw-r--r-- | src/plugins/phonon/waveout/waveout.pro | 23 |
5 files changed, 235 insertions, 0 deletions
diff --git a/src/plugins/phonon/ds9/ds9.pro b/src/plugins/phonon/ds9/ds9.pro new file mode 100644 index 0000000..786338a --- /dev/null +++ b/src/plugins/phonon/ds9/ds9.pro @@ -0,0 +1,60 @@ +DESTDIR = $$QT_BUILD_TREE/plugins/phonon_backend +QT += phonon +win32:!wince*:contains(QT_CONFIG,opengl):LIBS += -lopengl32 +win32:!wince*:LIBS += -lgdi32 +win32-msvc2005:DEFINES += _CRT_SECURE_NO_WARNINGS +LIBS += -lstrmiids -ldmoguids -luuid -lmsdmo -lole32 -loleaut32 +TARGET = phonon_ds9 + +DEFINES += PHONON_MAKE_QT_ONLY_BACKEND +PHONON_DS9_DIR = $$QT_SOURCE_TREE/src/3rdparty/phonon/ds9 + +# Input +HEADERS += \ + $$PHONON_DS9_DIR/abstractvideorenderer.h \ + $$PHONON_DS9_DIR/audiooutput.h \ + $$PHONON_DS9_DIR/backend.h \ + $$PHONON_DS9_DIR/backendnode.h \ + $$PHONON_DS9_DIR/effect.h \ + $$PHONON_DS9_DIR/fakesource.h \ + $$PHONON_DS9_DIR/iodevicereader.h \ + $$PHONON_DS9_DIR/mediagraph.h \ + $$PHONON_DS9_DIR/mediaobject.h \ + $$PHONON_DS9_DIR/videowidget.h \ + $$PHONON_DS9_DIR/videorenderer_soft.h \ + $$PHONON_DS9_DIR/videorenderer_vmr9.h \ + $$PHONON_DS9_DIR/volumeeffect.h \ + $$PHONON_DS9_DIR/qbasefilter.h \ + $$PHONON_DS9_DIR/qpin.h \ + $$PHONON_DS9_DIR/qasyncreader.h \ + $$PHONON_DS9_DIR/qaudiocdreader.h \ + $$PHONON_DS9_DIR/qmeminputpin.h \ + $$PHONON_DS9_DIR/compointer.h \ + $$PHONON_DS9_DIR/phononds9_namespace.h + + +SOURCES += \ + $$PHONON_DS9_DIR/abstractvideorenderer.cpp \ + $$PHONON_DS9_DIR/audiooutput.cpp \ + $$PHONON_DS9_DIR/backend.cpp \ + $$PHONON_DS9_DIR/backendnode.cpp \ + $$PHONON_DS9_DIR/effect.cpp \ + $$PHONON_DS9_DIR/fakesource.cpp \ + $$PHONON_DS9_DIR/iodevicereader.cpp \ + $$PHONON_DS9_DIR/mediagraph.cpp \ + $$PHONON_DS9_DIR/mediaobject.cpp \ + $$PHONON_DS9_DIR/videowidget.cpp \ + $$PHONON_DS9_DIR/videorenderer_soft.cpp \ + $$PHONON_DS9_DIR/videorenderer_vmr9.cpp \ + $$PHONON_DS9_DIR/volumeeffect.cpp \ + $$PHONON_DS9_DIR/qbasefilter.cpp \ + $$PHONON_DS9_DIR/qpin.cpp \ + $$PHONON_DS9_DIR/qasyncreader.cpp \ + $$PHONON_DS9_DIR/qaudiocdreader.cpp \ + $$PHONON_DS9_DIR/qmeminputpin.cpp + + +target.path = $$[QT_INSTALL_PLUGINS]/phonon_backend +INSTALLS += target + +include(../../qpluginbase.pri) diff --git a/src/plugins/phonon/gstreamer/gstreamer.pro b/src/plugins/phonon/gstreamer/gstreamer.pro new file mode 100644 index 0000000..ae597fa --- /dev/null +++ b/src/plugins/phonon/gstreamer/gstreamer.pro @@ -0,0 +1,67 @@ +TARGET = phonon_gstreamer +DESTDIR = $$QT_BUILD_TREE/plugins/phonon_backend + +DEPENDPATH += . +INCLUDEPATH += . + +QT += phonon +contains(QT_CONFIG, opengl):QT += opengl + +# GStreamer +QMAKE_CXXFLAGS += $$QT_CFLAGS_GSTREAMER +LIBS += $$QT_LIBS_GSTREAMER -lgstinterfaces-0.10 -lgstvideo-0.10 -lgstbase-0.10 -lgstaudio-0.10 + +PHONON_GSTREAMER_DIR = $$QT_SOURCE_TREE/src/3rdparty/phonon/gstreamer + +HEADERS += $$PHONON_GSTREAMER_DIR/common.h \ + $$PHONON_GSTREAMER_DIR/audiooutput.h \ + $$PHONON_GSTREAMER_DIR/artssink.h \ + $$PHONON_GSTREAMER_DIR/abstractrenderer.h \ + $$PHONON_GSTREAMER_DIR/backend.h \ + $$PHONON_GSTREAMER_DIR/devicemanager.h \ + $$PHONON_GSTREAMER_DIR/effect.h \ + $$PHONON_GSTREAMER_DIR/effectmanager.h \ + $$PHONON_GSTREAMER_DIR/gsthelper.h \ + $$PHONON_GSTREAMER_DIR/mediaobject.h \ + $$PHONON_GSTREAMER_DIR/medianode.h \ + $$PHONON_GSTREAMER_DIR/medianodeevent.h \ + $$PHONON_GSTREAMER_DIR/widgetrenderer.h \ + $$PHONON_GSTREAMER_DIR/videowidget.h \ + $$PHONON_GSTREAMER_DIR/glrenderer.h \ + $$PHONON_GSTREAMER_DIR/qwidgetvideosink.h \ + $$PHONON_GSTREAMER_DIR/phononsrc.h \ + $$PHONON_GSTREAMER_DIR/streamreader.h \ + $$PHONON_GSTREAMER_DIR/message.h \ + $$PHONON_GSTREAMER_DIR/audioeffect.h \ + $$PHONON_GSTREAMER_DIR/volumefadereffect.h + +SOURCES += $$PHONON_GSTREAMER_DIR/audiooutput.cpp \ + $$PHONON_GSTREAMER_DIR/abstractrenderer.cpp \ + $$PHONON_GSTREAMER_DIR/artssink.cpp \ + $$PHONON_GSTREAMER_DIR/backend.cpp \ + $$PHONON_GSTREAMER_DIR/devicemanager.cpp \ + $$PHONON_GSTREAMER_DIR/effect.cpp \ + $$PHONON_GSTREAMER_DIR/effectmanager.cpp \ + $$PHONON_GSTREAMER_DIR/gsthelper.cpp \ + $$PHONON_GSTREAMER_DIR/mediaobject.cpp \ + $$PHONON_GSTREAMER_DIR/medianode.cpp \ + $$PHONON_GSTREAMER_DIR/medianodeevent.cpp \ + $$PHONON_GSTREAMER_DIR/widgetrenderer.cpp \ + $$PHONON_GSTREAMER_DIR/videowidget.cpp \ + $$PHONON_GSTREAMER_DIR/glrenderer.cpp \ + $$PHONON_GSTREAMER_DIR/qwidgetvideosink.cpp \ + $$PHONON_GSTREAMER_DIR/phononsrc.cpp \ + $$PHONON_GSTREAMER_DIR/streamreader.cpp \ + $$PHONON_GSTREAMER_DIR/message.cpp \ + $$PHONON_GSTREAMER_DIR/audioeffect.cpp \ + $$PHONON_GSTREAMER_DIR/volumefadereffect.cpp + +!embedded { + HEADERS += $$PHONON_GSTREAMER_DIR/x11renderer.h + SOURCES += $$PHONON_GSTREAMER_DIR/x11renderer.cpp +} + +target.path = $$[QT_INSTALL_PLUGINS]/phonon_backend +INSTALLS += target + +include(../../qpluginbase.pri) diff --git a/src/plugins/phonon/phonon.pro b/src/plugins/phonon/phonon.pro new file mode 100644 index 0000000..e43a4c2 --- /dev/null +++ b/src/plugins/phonon/phonon.pro @@ -0,0 +1,9 @@ +TEMPLATE = subdirs + +SUBDIRS = + +unix:contains(QT_CONFIG, gstreamer): SUBDIRS *= gstreamer +mac:contains(QT_CONFIG, phonon-backend): SUBDIRS *= qt7 +win32:!wince*:contains(QT_CONFIG, phonon-backend): SUBDIRS *= ds9 +wince*:contains(QT_CONFIG, phonon-backend): SUBDIRS *= waveout +wince*:contains(QT_CONFIG, directshow): SUBDIRS *= ds9 diff --git a/src/plugins/phonon/qt7/qt7.pro b/src/plugins/phonon/qt7/qt7.pro new file mode 100644 index 0000000..665baee --- /dev/null +++ b/src/plugins/phonon/qt7/qt7.pro @@ -0,0 +1,76 @@ +QT += opengl phonon +TARGET = phonon_qt7 +DESTDIR = $$QT_BUILD_TREE/plugins/phonon_backend + +# The Quicktime framework is only awailable for 32-bit builds, so we +# need to check for this before linking against it. +# QMAKE_MAC_XARCH is not awailable on Tiger, but at the same time, +# we never build for 64-bit architechtures on Tiger either: +contains(QMAKE_MAC_XARCH, no) { + LIBS += -framework QuickTime +} else { + LIBS += -Xarch_i386 -framework QuickTime -Xarch_ppc -framework QuickTime +} + +LIBS += -framework AudioUnit \ + -framework AudioToolbox -framework CoreAudio \ + -framework QuartzCore -framework QTKit + +DEPENDPATH += . +INCLUDEPATH += . + +PHONON_QUICKTIME_DIR=$$QT_SOURCE_TREE/src/3rdparty/phonon/qt7 + +# Input +HEADERS += $$PHONON_QUICKTIME_DIR/medianode.h \ + $$PHONON_QUICKTIME_DIR/backend.h \ + $$PHONON_QUICKTIME_DIR/videowidget.h \ + $$PHONON_QUICKTIME_DIR/mediaobject.h \ + $$PHONON_QUICKTIME_DIR/quicktimevideoplayer.h \ + $$PHONON_QUICKTIME_DIR/backendheader.h \ + $$PHONON_QUICKTIME_DIR/medianodevideopart.h \ + $$PHONON_QUICKTIME_DIR/medianodeevent.h \ + $$PHONON_QUICKTIME_DIR/quicktimeaudioplayer.h \ + $$PHONON_QUICKTIME_DIR/audionode.h \ + $$PHONON_QUICKTIME_DIR/audiograph.h \ + $$PHONON_QUICKTIME_DIR/audiooutput.h \ + $$PHONON_QUICKTIME_DIR/quicktimemetadata.h \ + $$PHONON_QUICKTIME_DIR/audiomixer.h \ + $$PHONON_QUICKTIME_DIR/audiodevice.h \ + $$PHONON_QUICKTIME_DIR/backendinfo.h \ + $$PHONON_QUICKTIME_DIR/audioconnection.h \ + $$PHONON_QUICKTIME_DIR/audiopartoutput.h \ + $$PHONON_QUICKTIME_DIR/videoframe.h \ + $$PHONON_QUICKTIME_DIR/audiosplitter.h \ + $$PHONON_QUICKTIME_DIR/audioeffects.h \ + $$PHONON_QUICKTIME_DIR/quicktimestreamreader.h \ + $$PHONON_QUICKTIME_DIR/mediaobjectaudionode.h +# HEADERS += objc_help.h videoeffect.h + +OBJECTIVE_SOURCES += $$PHONON_QUICKTIME_DIR/quicktimevideoplayer.mm \ + $$PHONON_QUICKTIME_DIR/backendheader.mm \ + $$PHONON_QUICKTIME_DIR/medianodevideopart.mm \ + $$PHONON_QUICKTIME_DIR/medianodeevent.mm \ + $$PHONON_QUICKTIME_DIR/audiooutput.mm \ + $$PHONON_QUICKTIME_DIR/backendinfo.mm \ + $$PHONON_QUICKTIME_DIR/audiosplitter.mm \ + $$PHONON_QUICKTIME_DIR/audioeffects.mm \ + $$PHONON_QUICKTIME_DIR/quicktimestreamreader.mm \ + $$PHONON_QUICKTIME_DIR/medianode.mm \ + $$PHONON_QUICKTIME_DIR/backend.mm \ + $$PHONON_QUICKTIME_DIR/mediaobject.mm \ + $$PHONON_QUICKTIME_DIR/mediaobjectaudionode.mm \ + $$PHONON_QUICKTIME_DIR/audiomixer.mm \ + $$PHONON_QUICKTIME_DIR/quicktimeaudioplayer.mm \ + $$PHONON_QUICKTIME_DIR/videoframe.mm \ + $$PHONON_QUICKTIME_DIR/quicktimemetadata.mm \ + $$PHONON_QUICKTIME_DIR/audiodevice.mm \ + $$PHONON_QUICKTIME_DIR/audioconnection.mm \ + $$PHONON_QUICKTIME_DIR/audiograph.mm \ + $$PHONON_QUICKTIME_DIR/audionode.mm \ + $$PHONON_QUICKTIME_DIR/videowidget.mm + +target.path = $$[QT_INSTALL_PLUGINS]/phonon_backend +INSTALLS += target + +include(../../qpluginbase.pri) diff --git a/src/plugins/phonon/waveout/waveout.pro b/src/plugins/phonon/waveout/waveout.pro new file mode 100644 index 0000000..1e2bd33 --- /dev/null +++ b/src/plugins/phonon/waveout/waveout.pro @@ -0,0 +1,23 @@ +DESTDIR = $$QT_BUILD_TREE/plugins/phonon_backend +QT += phonon +win32-msvc2005:DEFINES += _CRT_SECURE_NO_WARNINGS +TARGET = phonon_waveout + +DEFINES += PHONON_MAKE_QT_ONLY_BACKEND +PHONON_WAVEOUT_DIR = $$QT_SOURCE_TREE/src/3rdparty/phonon/waveout + +# Input +HEADERS += $$PHONON_WAVEOUT_DIR/audiooutput.h \ + $$PHONON_WAVEOUT_DIR/backend.h \ + $$PHONON_WAVEOUT_DIR/mediaobject.h + + +SOURCES += $$PHONON_WAVEOUT_DIR/audiooutput.cpp \ + $$PHONON_WAVEOUT_DIR/backend.cpp \ + $$PHONON_WAVEOUT_DIR/mediaobject.cpp + + +target.path = $$[QT_INSTALL_PLUGINS]/phonon_backend +INSTALLS += target + +include(../../qpluginbase.pri) |