forked from CloudKidStudio/LowLatencyAudio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
48 lines (39 loc) · 1.8 KB
/
plugin.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="com.phonegap.LowLatencyAudio"
version="0.1.0">
<name>LowLatencyAudio</name>
<description>Low latency audio plugin</description>
<license>MIT</license>
<keywords>phonegap,audio</keywords>
<js-module src="www/LowLatencyAudio.js" name="LowLatencyAudio">
<clobbers target="window.plugins.LowLatencyAudio" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="LowLatencyAudio">
<param name="android-package" value="com.phonegap.PGLowLatencyAudio"/>
</feature>
</config-file>
<source-file src="src/android/Callback.java" target-dir="src/com/phonegap" />
<source-file src="src/android/PGLowLatencyAudio.java" target-dir="src/com/phonegap" />
<source-file src="src/android/PGLowLatencyAudioAsset.java" target-dir="src/com/phonegap" />
<source-file src="src/android/PGPolyphonicVoice.java" target-dir="src/com/phonegap" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="LowLatencyAudio">
<param name="ios-package" value="LowLatencyAudio"/>
</feature>
</config-file>
<framework src="Foundation.framework"/>
<framework src="AVFoundation.framework"/>
<framework src="AudioToolbox.framework"/>
<header-file src="src/ios/LowLatencyAudio.h" />
<source-file src="src/ios/LowLatencyAudio.m" />
<header-file src="src/ios/LowLatencyAudioAsset.h" />
<source-file src="src/ios/LowLatencyAudioAsset.m" />
</platform>
</plugin>