diff options
| author | Tim Redfern <tim@getdrop.com> | 2022-11-21 18:33:18 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2022-11-21 18:33:18 +0000 |
| commit | e9e9d076406bcea1a0a7461a9db4d43b8f280d49 (patch) | |
| tree | d255ed3294d6d24b60efd0dd383b8cc6a906ac36 /audioin/src | |
| parent | 4ceddea7412d683d8b828ad1027529d7167520d4 (diff) | |
add stats
Diffstat (limited to 'audioin/src')
| -rw-r--r-- | audioin/src/ofApp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audioin/src/ofApp.cpp b/audioin/src/ofApp.cpp index e6b0e6d..8d5fe8c 100644 --- a/audioin/src/ofApp.cpp +++ b/audioin/src/ofApp.cpp @@ -55,13 +55,13 @@ void ofApp::draw(){ line.draw(); - laser.draw(line); + int numpts=laser.draw(line); ofPopMatrix(); frameNum++; - ofSetWindowTitle(ofToString(ofGetFrameRate())); + ofSetWindowTitle(ofToString(ofGetFrameRate())+" fps, pts:"+(numpts?ofToString(numpts):"ERR")); } |
