| 273 | } |
| 274 | |
| 275 | void AudioNodeScheduler::finish(ContextRenderLock & r) |
| 276 | { |
| 277 | if (_playbackState < SchedulingState::PLAYING) |
| 278 | _playbackState = SchedulingState::FINISHING; |
| 279 | else if (_playbackState >= SchedulingState::PLAYING && _playbackState < SchedulingState::FINISHED) |
| 280 | _playbackState = SchedulingState::FINISHING; |
| 281 | |
| 282 | r.context()->enqueueEvent(_onEnded); |
| 283 | } |
| 284 | |
| 285 | AudioParamDescriptor const * const AudioNodeDescriptor::param(char const * const p) const |
| 286 | { |
nothing calls this directly
no test coverage detected