blob: 146851493fea2edf82dba3a0f2218260017ae7aa (
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
|
TARGET = qtaudio_coreaudio
QT += multimedia-private
PLUGIN_TYPE = audio
PLUGIN_CLASS_NAME = CoreAudioPlugin
load(qt_plugin)
OTHER_FILES += \
coreaudio.json
#DEFINES += QT_DEBUG_COREAUDIO
HEADERS += \
coreaudiodeviceinfo.h \
coreaudioinput.h \
coreaudiooutput.h \
coreaudioplugin.h \
coreaudioutils.h
OBJECTIVE_SOURCES += \
coreaudiodeviceinfo.mm \
coreaudioinput.mm \
coreaudiooutput.mm \
coreaudioplugin.mm \
coreaudioutils.mm
ios {
HEADERS += coreaudiosessionmanager.h
OBJECTIVE_SOURCES += coreaudiosessionmanager.mm
LIBS += -framework AVFoundation
} else {
LIBS += \
-framework ApplicationServices \
-framework AudioUnit
}
LIBS += \
-framework CoreAudio \
-framework AudioToolbox
|