pipi7817 / as3wavsound

Automatically exported from code.google.com/p/as3wavsound
Other
0 stars 0 forks source link

start time validation always fails #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
line 56 in WavSoundChannel looks like:

var maxPositionInMillis:Number = Math.floor(length); 

but should probably refer to the _wavSound.length like:

var maxPositionInMillis:Number = Math.floor(_wavSound.length); 

Original issue reported on code.google.com by Bjorn.B....@gmail.com on 14 Oct 2010 at 10:29

GoogleCodeExporter commented 9 years ago
I'm looking at the code (without editor so I can't compile), but I'm now 
wondering where 'length' currently comes from. This looks like it shouldn't 
even compile.

You're probably right that it should be _wavSound.length.

Original comment by b.bottema on 19 Oct 2010 at 7:38

GoogleCodeExporter commented 9 years ago
Should be fixed in v0.7.

Original comment by b.bottema on 21 Dec 2010 at 7:06