Skip to content

Commit

Permalink
feat: audio context
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakaryCode authored and luckyadam committed Dec 16, 2019
1 parent 0eec693 commit 32ff140
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/taro-quickapp/src/api/media/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import audio from '@system.audio'
import device from '@system.device'
import record from '@system.record'

export function createInnerAudioContext () {
Expand Down Expand Up @@ -66,7 +67,8 @@ export function stopRecord () {
}

export default {
createAudioContext,
createInnerAudioContext,
createAudioContext: createInnerAudioContext,
getPlayState,
startRecord,
stopRecord
Expand Down

0 comments on commit 32ff140

Please sign in to comment.