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 Jan 7, 2020
1 parent 4f7e02b commit f1f27c3
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 f1f27c3

Please sign in to comment.