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

Method schedule

src/core/SampledAudioNode.cpp:231–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229 }
230
231 void SampledAudioNode::schedule(float when)
232 {
233 if (!isPlayingOrScheduled())
234 _scheduler.start(0.);
235
236 std::shared_ptr<AudioBus> bus = m_pendingSourceBus;
237 if (bus)
238 _internals->incoming.enqueue({when, 0, bus->length(), 0, 0});
239
240 initialize();
241 }
242
243 void SampledAudioNode::schedule(float when, int loopCount)
244 {

Callers 10

playMethod · 0.80
playMethod · 0.80
playMethod · 0.80
playMethod · 0.80
playMethod · 0.80
playMethod · 0.80
playMethod · 0.80
playMethod · 0.80
playMethod · 0.80
playMethod · 0.80

Calls 3

startMethod · 0.45
lengthMethod · 0.45
sampleRateMethod · 0.45

Tested by

no test coverage detected