standardized-audio-context
Version:
A cross-browser wrapper for the Web Audio API which aims to closely follow the standard.
12 lines • 425 B
JavaScript
export const testAudioBufferSourceNodeStopMethodNullifiedBufferSupport = (nativeContext) => {
const nativeAudioBufferSourceNode = nativeContext.createBufferSource();
nativeAudioBufferSourceNode.start();
try {
nativeAudioBufferSourceNode.stop();
}
catch {
return false;
}
return true;
};
//# sourceMappingURL=test-audio-buffer-source-node-stop-method-nullified-buffer-support.js.map