| 266 | } |
| 267 | |
| 268 | void DurationController::threadedFunction(){ |
| 269 | while(isThreadRunning()){ |
| 270 | lock(); |
| 271 | oscLock.lock(); |
| 272 | handleOscIn(); |
| 273 | handleOscOut(); |
| 274 | oscLock.unlock(); |
| 275 | unlock(); |
| 276 | |
| 277 | ofSleepMillis(1); |
| 278 | } |
| 279 | } |
| 280 | |
| 281 | void DurationController::handleOscIn(){ |
| 282 | if(!settings.oscInEnabled){ |
nothing calls this directly
no outgoing calls
no test coverage detected