forked from floatinghotpot/cordova-plugin-nativeaudio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
60 lines (45 loc) · 2.44 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
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.rjfun.cordova.plugin.lowlatencyaudio"
version="1.1.4">
<name>LowLatencyAudio</name>
<author>Andrew Trice, updated by Raymond Xie, etc.</author>
<description>Cordova/PhoneGap 3+ Plugin to support Low Latency and Polyphonic Audio Playback on Android and iOS, must have for mobile apps/games, as HTML5 audio in mobile browsers is really poor. Also implemented same interface for HTML5 audio, useful when test in PC browser.</description>
<license>MIT</license>
<keywords>audio,fx,music,mp3,game</keywords>
<repo>https://github.com/floatinghotpot/cordova-plugin-lowlatencyaudio.git</repo>
<issue>https://github.com/floatinghotpot/cordova-plugin-lowlatencyaudio/issues</issue>
<engines>
<engine name="cordova" version=">=3.0" />
</engines>
<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.rjfun.cordova.plugin.LowLatencyAudio"/>
</feature>
</config-file>
<source-file src="src/android/LowLatencyAudio.java" target-dir="src/com/rjfun/cordova/plugin" />
<source-file src="src/android/LowLatencyAudioAsset.java" target-dir="src/com/rjfun/cordova/plugin" />
<source-file src="src/android/PolyphonicVoice.java" target-dir="src/com/rjfun/cordova/plugin" />
</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>