From 0ea63a72276ac7ca2e9372c3570bb401ecbcfb0e Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Fri, 6 Mar 2015 19:39:46 -0800 Subject: [PATCH] More 80386 support, and an audio API change forced by Chrome --- modules/pcjs/lib/chipset.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/pcjs/lib/chipset.js b/modules/pcjs/lib/chipset.js index 1c95feddc4..4401097a5e 100644 --- a/modules/pcjs/lib/chipset.js +++ b/modules/pcjs/lib/chipset.js @@ -4798,8 +4798,8 @@ ChipSet.prototype.setSpeaker = function(fOn) } else { if (this.sourceAudio) { this.sourceAudio['stop'](0); - this.sourceAudio['disconnect'](); // QUESTION: is this automatic following a stop(), since this particular source cannot be started again? - delete this.sourceAudio; // QUESTION: ditto? + this.sourceAudio['disconnect'](); // QUESTION: is this automatic following a stop(), since this particular source cannot be started again? + delete this.sourceAudio; // QUESTION: ditto? if (this.messageEnabled(Messages.SPEAKER)) this.printMessage("speaker off at " + freq + "hz", true); } }