summaryrefslogtreecommitdiff
path: root/futuregael/src/ofApp.cpp
diff options
context:
space:
mode:
authorTim Redfern <redfernt@gmail.com>2023-09-17 20:14:53 +0100
committerTim Redfern <redfernt@gmail.com>2023-09-17 20:14:53 +0100
commit495cc57aaa5a00fccdee92ff6a3328fb62e2c319 (patch)
tree9dcec87edffb8630f8fd9224183276034bd6b83e /futuregael/src/ofApp.cpp
parent797f54530edb7804fbb4b9b4bec3bce44749afd4 (diff)
reading durations
Diffstat (limited to 'futuregael/src/ofApp.cpp')
-rw-r--r--futuregael/src/ofApp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/futuregael/src/ofApp.cpp b/futuregael/src/ofApp.cpp
index fe007e8..c912916 100644
--- a/futuregael/src/ofApp.cpp
+++ b/futuregael/src/ofApp.cpp
@@ -61,10 +61,10 @@ void ofApp::keyReleased(int key){
break;
}
case ' ':{
- if (playline->audio.isPlaying()){
- playline->audio.stop();
+ if (playline->isPlaying()){
+ playline->stop();
}
- else playline->audio.play();
+ else playline->play();
break;
}
default:{