MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / AddWavetable

Method AddWavetable

Source/Compiler.cpp:1574–1583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1572}
1573
1574void CCompiler::AddWavetable(CInstrumentFDS *pInstrument, CChunk *pChunk)
1575{
1576 // TODO Find equal existing waves
1577
1578 // Allocate new wave
1579 for (int i = 0; i < 64; ++i)
1580 pChunk->StoreByte(pInstrument->GetSample(i));
1581
1582 ++m_iWaveTables;
1583}
1584
1585// Object list functions
1586

Callers

nothing calls this directly

Calls 2

StoreByteMethod · 0.80
GetSampleMethod · 0.45

Tested by

no test coverage detected