summaryrefslogtreecommitdiffstats
path: root/src/plugins/mediaservices/symbian/mediaplayer/mediaplayer.pri
blob: 205e0145010a51e8e40839d19ff0c8d08b4f79f9 (plain)
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
62
63
INCLUDEPATH += $$PWD
LIBS += -lmediaclientvideo \
	-lmediaclientaudio \
	-lws32 \
	-lfbscli \
	-lcone \
    	-lmmfcontrollerframework \
    	-lefsrv \
    	-lbitgdi \
    	-lapgrfx \
    	-lapmime


# We are building Symbian backend with media player support
DEFINES += QMEDIA_MMF_PLAYER


HEADERS += \
    $$PWD/s60mediaplayercontrol.h \
    $$PWD/s60mediaplayerservice.h \
    $$PWD/s60mediaplayersession.h \
    $$PWD/s60videoplayersession.h \
    $$PWD/s60mediametadataprovider.h \
    $$PWD/s60videosurface.h \
    $$PWD/s60videooverlay.h \
    $$PWD/s60videorenderer.h \
    $$PWD/s60mediarecognizer.h \
    $$PWD/s60audioplayersession.h \
    $$PWD/ms60mediaplayerresolver.h \
    $$PWD/s60videowidget.h \
    $$PWD/s60mediaplayeraudioendpointselector.h

SOURCES += \
    $$PWD/s60mediaplayercontrol.cpp \
    $$PWD/s60mediaplayerservice.cpp \
    $$PWD/s60mediaplayersession.cpp \
    $$PWD/s60videoplayersession.cpp \
    $$PWD/s60mediametadataprovider.cpp \
    $$PWD/s60videosurface.cpp \
    $$PWD/s60videooverlay.cpp \
    $$PWD/s60videorenderer.cpp \
    $$PWD/s60mediarecognizer.cpp \
    $$PWD/s60audioplayersession.cpp \
    $$PWD/s60videowidget.cpp \
    $$PWD/s60mediaplayeraudioendpointselector.cpp

contains(S60_VERSION, 3.1) {

    #3.1 doesn't provide audio routing in videoplayer
    DEFINES += HAS_NO_AUDIOROUTING_IN_VIDEOPLAYER

    !exists($${EPOCROOT}epoc32\release\winscw\udeb\audiooutputrouting.lib) {
        MMP_RULES += "$${LITERAL_HASH}ifdef WINSCW" \
                     "MACRO HAS_NO_AUDIOROUTING" \
                     "$${LITERAL_HASH}else" \
                     "LIBRARY audiooutputrouting.lib" \
                     "$${LITERAL_HASH}endif"
    }

} else {
    LIBS += -laudiooutputrouting
}