Skip to content

rgruesbeck/unlock-audio-context

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unlock-audio-context

Unlocking web audio context on mobile and iOS devices.

Install

npm install --save unlock-audio-context

Use

Pass in the audio context to unlockAudioContext()

Syntax

unlockAudioContext(context)

Examples

const audioCtx = new AudioContext();

// unlock audio context
unlockAudioContext(audioCtx);

Change Log

  • 0.2.0 only call unlock once, remove mute flag
  • 0.1.0 add mute flag
  • 0.0.1 initial version

About

Unlock audio contexts on iOS devices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published