mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
Oh, Safari
This commit is contained in:
parent
4d7068208a
commit
a7aa5ab902
@ -19,6 +19,8 @@ import { debug } from '../util';
|
||||
const SAMPLE_SIZE = 1024;
|
||||
const SAMPLE_RATE = 44000;
|
||||
|
||||
const AudioContext = window.AudioContext || (window as any).webkitAudioContext;
|
||||
|
||||
export default class Audio {
|
||||
private sound = true;
|
||||
private samples: number[][] = [];
|
||||
|
Loading…
Reference in New Issue
Block a user