()
| 25 | typeof AudioNode !== "undefined" && typeof AudioWorkletNode !== "undefined"; |
| 26 | |
| 27 | export const WebkitAudioContext = () => { |
| 28 | if (typeof window.webkitAudioContext !== "undefined") { |
| 29 | return window.webkitAudioContext; |
| 30 | } else if (typeof window.AudioContext !== "undefined") { |
| 31 | return window.AudioContext; |
| 32 | } |
| 33 | }; |
| 34 | |
| 35 | export const isScriptProcessorNodeSupported = () => { |
| 36 | const audioContext = WebkitAudioContext(); |
no outgoing calls
no test coverage detected