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

Method InitChannel

Source/ChannelHandler.cpp:61–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void CChannelHandler::InitChannel(CAPUInterface &apu, array_view<int> VibTable, CSoundGenBase *pSoundGen) // // //
62{
63 // Called from main thread
64
65 m_pAPU = &apu;
66 if (VibTable.size() == 256u) // // //
67 m_iVibratoTable = VibTable;
68 m_pSoundGen = pSoundGen;
69
70 m_bDelayEnabled = false;
71}
72
73void CChannelHandler::ConfigureDocument(const CFamiTrackerModule &modfile) { // // //
74 SetVibratoStyle(modfile.GetVibratoStyle());

Callers 1

LoadAPUMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected