From 495cc57aaa5a00fccdee92ff6a3328fb62e2c319 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Sun, 17 Sep 2023 20:14:53 +0100 Subject: reading durations --- futuregael/src/ofApp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'futuregael/src/ofApp.cpp') 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:{ -- cgit v1.2.3