repo: janusweb
action: commit
revision: 
path_from: 
revision_from: 493aece77fde0ca667044e373370d65182fdd069:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit 493aece77fde0ca667044e373370d65182fdd069
Author: James Baicoianu 
Date:   Fri Jun 12 16:00:31 2020 -0700

    Allow updating sound.distanceModel dynamically

diff --git a/scripts/sound.js b/scripts/sound.js
index 527376d536370e56d4924c457091ce6303335d6b..
index ..258c712191eba4a2e3cc6f4d11b00b4b196ef835 100644
--- 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-----