YCAMInterlab / ofxTimeline

lightweight timeline tools for openFrameworks
270 stars 140 forks source link

audiowaveformTimelineExample fix #78

Closed momo-the-monster closed 12 years ago

momo-the-monster commented 12 years ago

This line:

timeline.setDurationInSeconds(waveform.getDuration());

currently appears before the waveform is loaded, resulting in an incorrect timeline length. Moving it to line 26 (after timeline.addElement) fixes the issue.

obviousjim commented 12 years ago

fixed by 47531eeb24e043c54aea336307345f747e35ed4f