Mercurial > hg > webaudioevaluationtool
comparison core.js @ 1579:4ffbccf448c2
audioObject returned on node creation for ease of modification by interface.
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Thu, 04 Jun 2015 11:21:47 +0100 |
parents | e7546cabe1f3 |
children | f938025db0d7 |
comparison
equal
deleted
inserted
replaced
1578:e7546cabe1f3 | 1579:4ffbccf448c2 |
---|---|
551 audioObjectId = this.audioObjects.length; | 551 audioObjectId = this.audioObjects.length; |
552 this.audioObjects[audioObjectId] = new audioObject(audioObjectId); | 552 this.audioObjects[audioObjectId] = new audioObject(audioObjectId); |
553 | 553 |
554 // AudioObject will get track itself. | 554 // AudioObject will get track itself. |
555 this.audioObjects[audioObjectId].constructTrack(url); | 555 this.audioObjects[audioObjectId].constructTrack(url); |
556 return this.audioObjects[audioObjectId]; | |
556 }; | 557 }; |
557 | 558 |
558 this.newTestPage = function() { | 559 this.newTestPage = function() { |
559 this.state = 0; | 560 this.state = 0; |
560 this.audioObjectsReady = false; | 561 this.audioObjectsReady = false; |