Skip to content

Instantly share code, notes, and snippets.

@weepy
Created June 29, 2015 09:03
Show Gist options
  • Save weepy/6f8474dd61af24f8f74a to your computer and use it in GitHub Desktop.
Save weepy/6f8474dd61af24f8f74a to your computer and use it in GitHub Desktop.
ERR UWave::start() {
USignal::start();
curSegment = segments.begin();
while( curSegment != segments.end() ) {
if( (*curSegment)->duration > 0)
break;
curSegment ++;
}
position = phase * length;
return OK;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment