// // unmuteZoneClient.js // // Created by Robin Wilson on 2019-04-08 // Copyright 2019 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html (function() { var DEBUG = false; function UnmuteZoneClient () { // blank } var previousMuteSetting; UnmuteZoneClient.prototype = { preload: function(id) { // blank }, enterEntity: function () { previousMuteSetting = Audio.muted; Audio.muted = false; }, leaveEntity: function () { Audio.muted = previousMuteSetting; }, unload: function() { // blank } }; return new UnmuteZoneClient(); });