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

Method scale

src/core/AudioChannel.cpp:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21void AudioChannel::scale(float scale)
22{
23 if (isSilent()) return;
24 VectorMath::vsmul(data(), 1, &scale, mutableData(), 1, length());
25}
26
27void AudioChannel::copyFrom(const AudioChannel * sourceChannel)
28{

Callers

nothing calls this directly

Calls 1

vsmulFunction · 0.85

Tested by

no test coverage detected