diff --git a/js/apple2io.js b/js/apple2io.js index dde95f4..2ffdecf 100644 --- a/js/apple2io.js +++ b/js/apple2io.js @@ -495,7 +495,7 @@ export default function Apple2IO(cpu, callbacks) sampleRate: function sampleRate(rate, sample_size) { _rate = rate; - _sample_size = sample_size + _sample_size = sample_size; _sample = new Array(_sample_size); _sampleIdx = 0; _calcSampleRate(); diff --git a/js/ui/audio.js b/js/ui/audio.js index 0117eeb..8f4afd5 100644 --- a/js/ui/audio.js +++ b/js/ui/audio.js @@ -15,8 +15,8 @@ import { debug } from '../util'; * Audio Handling */ -var SAMPLE_SIZE = 1024 -var SAMPLE_RATE = 44000 +var SAMPLE_SIZE = 1024; +var SAMPLE_RATE = 44000; export default function Audio(io) { var sound = true;