remove capitalization from webkitAudioContext

This commit is contained in:
KDSBrowne 2019-07-26 14:52:39 +00:00
parent 624cc306d1
commit afcc2095a4

View File

@ -367,11 +367,11 @@ class AudioManager {
this.listenOnlyAudioContext.close();
}
const { AudioContext, WebkitAudioContext } = window;
const { AudioContext, webkitAudioContext } = window;
this.listenOnlyAudioContext = AudioContext
? new AudioContext()
: new WebkitAudioContext();
: new webkitAudioContext();
const dest = this.listenOnlyAudioContext.createMediaStreamDestination();