repo: janusweb action: commit revision: path_from: revision_from: 493aece77fde0ca667044e373370d65182fdd069: path_to: revision_to:
commit 493aece77fde0ca667044e373370d65182fdd069 Author: James BaicoianuDate: Fri Jun 12 16:00:31 2020 -0700 Allow updating sound.distanceModel dynamically diff --git a/scripts/sound.js b/scripts/sound.js
--- a/scripts/sound.js
+++ b/scripts/sound.js
@@ -14,6 +14,7 @@ elation.require(['janusweb.janusbase'], function() {
pitch: { type: 'float', default: 1.0, set: this.updateSound },
gain: { type: 'float', default: 1.0, set: this.updateSound },
starttime: { type: 'float', default: 0.0, set: this.updateSound },
+ distanceModel: { type: 'string', set: this.updateSound },
rect: { type: 'string', set: this.updateSound }
});
this.playing = false;
-----END OF PAGE-----