UNPKG

standardized-audio-context

Version:

A cross-browser wrapper for the Web Audio API which aims to closely follow the standard.

12 lines 430 B
export const testAudioBufferSourceNodeStartMethodConsecutiveCallsSupport = (nativeContext) => { const nativeAudioBufferSourceNode = nativeContext.createBufferSource(); nativeAudioBufferSourceNode.start(); try { nativeAudioBufferSourceNode.start(); } catch { return true; } return false; }; //# sourceMappingURL=test-audio-buffer-source-node-start-method-consecutive-calls-support.js.map