Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

Commit

Permalink
More 80386 support, and an audio API change forced by Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffpar committed Mar 7, 2015
1 parent 920211a commit 0ea63a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/pcjs/lib/chipset.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 0ea63a7

Please sign in to comment.