| 39 | } |
| 40 | |
| 41 | void 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 | |
| 50 | void AudioBus::resizeSmaller(int newLength) |
| 51 | { |
no test coverage detected