create-inner-audio-context.md 914 字节
Newer Older
D
DCloud_LXH 已提交
1
## uni.createInnerAudioContext() @createinneraudiocontext
雪洛's avatar
雪洛 已提交
2

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
**注意:使用完后,必须调用destory方法将资源进行释放**

**支持格式**

|格式|web|Android|
|:-|:-|:-|
|flac	|√|√|
|m4a	|√|√|
|ogg	|√|√|
|ape	|√|√|
|amr	|√|√|
|wma	|√|√|
|wav	|√|√|
|mp3	|√|√|
|mp4	|√|√|
|aac	|√|√|
|aiff	|√|x|
|caf	|√|x|



雪洛's avatar
雪洛 已提交
24 25
<!-- UTSAPIJSON.createInnerAudioContext.description -->

D
DCloud_LXH 已提交
26 27
<!-- UTSAPIJSON.createInnerAudioContext.compatibility -->

W
wanganxp 已提交
28 29
App音频播放:[见插件市场](https://ext.dcloud.net.cn/search?q=%E9%9F%B3%E9%A2%91%E6%92%AD%E6%94%BE&orderBy=Relevance&uni-appx=1)

雪洛's avatar
雪洛 已提交
30 31 32 33
<!-- UTSAPIJSON.createInnerAudioContext.param -->

<!-- UTSAPIJSON.createInnerAudioContext.returnValue -->

D
DCloud_LXH 已提交
34
<!-- UTSAPIJSON.createInnerAudioContext.tutorial -->
D
DCloud_LXH 已提交
35 36 37 38 39

<!-- UTSAPIJSON.createInnerAudioContext.example -->

<!-- UTSAPIJSON.general_type.name -->

40
<!-- UTSAPIJSON.general_type.param -->