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

Method setChannelMemory

src/core/AudioBus.cpp:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void AudioBus::setChannelMemory(int channelIndex, float * storage, int length)
42{
43 if (channelIndex < m_channels.size())
44 {
45 channel(channelIndex)->set(storage, length);
46 m_length = length; // @fixme - verify that this length matches all the other channel lengths
47 }
48}
49
50void AudioBus::resizeSmaller(int newLength)
51{

Callers 1

calculateFinalValuesMethod · 0.80

Calls 2

sizeMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected