MCPcopy Create free account
hub / github.com/LabSound/LabSound / finish

Method finish

src/core/AudioNode.cpp:275–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273}
274
275void 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
285AudioParamDescriptor const * const AudioNodeDescriptor::param(char const * const p) const
286{

Callers

nothing calls this directly

Calls 2

enqueueEventMethod · 0.80
contextMethod · 0.45

Tested by

no test coverage detected