MCPcopy Create free account
hub / github.com/audacity/audacity / SetFloats

Method SetFloats

libraries/lib-wave-track/WaveTrack.cpp:3462–3474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3460}
3461
3462bool WaveTrack::SetFloats(const float *const *buffers,
3463 sampleCount start, size_t len, sampleFormat effectiveFormat)
3464{
3465 bool result = true;
3466 size_t ii = 0;
3467 for (const auto &pChannel : Channels()) {
3468 const auto buffer = buffers[ii++];
3469 assert(buffer); // precondition
3470 result = pChannel->SetFloats(buffer, start, len, effectiveFormat)
3471 && result;
3472 }
3473 return result;
3474}
3475
3476auto WaveTrack::SortedClipArray() const -> IntervalConstHolders
3477{

Callers 8

ReverseOneClipFunction · 0.80
ProcessOneMethod · 0.80
DoRemovalMethod · 0.80
ApplyDuckFadeMethod · 0.80
ProcessOneMethod · 0.80
StoreBufferBlockMethod · 0.80
ProcessOneMethod · 0.80
ProcessOneMethod · 0.80

Calls 1

ChannelsFunction · 0.70

Tested by

no test coverage detected