MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / setChannelData

Method setChannelData

Source/Amiga/paula.hpp:213–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211 }
212
213 void setChannelData(uint8 channel, const int8 *data, const int8 *dataRepeat, uint32 length, uint32 lengthRepeat, int32 offset = 0) {
214 assert(channel < NUM_VOICES);
215
216 Channel &ch = _voice[channel];
217
218 ch.dataRepeat = data;
219 ch.lengthRepeat = length;
220 enableChannel(channel);
221 ch.offset = Offset(offset);
222
223 ch.dataRepeat = dataRepeat;
224 ch.lengthRepeat = lengthRepeat;
225 }
226
227 void setChannelOffset(uint8 channel, Offset offset) {
228 assert(channel < NUM_VOICES);

Callers

nothing calls this directly

Calls 1

OffsetClass · 0.85

Tested by

no test coverage detected