File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 4343 < small > Star me on < a href ="https://github.com/Wayou/HTML5_Audio_Visualizer "> GitHub</ a > </ small >
4444 </ footer >
4545 < script type ="text/javascript ">
46- /*
46+ /*
4747 *An audio spectrum visualizer built with HTML5 Audio API
4848 *Author:Wayou
4949 *License:feel free to use but keep this info please!
224224 requestAnimationFrame ( drawMeter ) ;
225225 } ,
226226 _audioEnd : function ( instance ) {
227- if ( this . forceStop = true ) {
227+ if ( this . forceStop ) {
228+ this . forceStop = false ;
228229 return ;
229230 } ;
230231 console . log ( 'audio ended' ) ;
Original file line number Diff line number Diff line change @@ -179,7 +179,8 @@ Visualizer.prototype = {
179179 requestAnimationFrame ( drawMeter ) ;
180180 } ,
181181 _audioEnd : function ( instance ) {
182- if ( this . forceStop = true ) {
182+ if ( this . forceStop ) {
183+ this . forceStop = false ;
183184 return ;
184185 } ;
185186 console . log ( 'audio ended' ) ;
You can’t perform that action at this time.
0 commit comments