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

Method SelectChip

Source/SoundGen.cpp:215–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215void CSoundGen::SelectChip(CSoundChipSet Chip)
216{
217 if (IsPlaying()) {
218 StopPlayer();
219 }
220
221 if (!WaitForStop()) {
222 TRACE(L"CSoundGen: Could not stop player!");
223 return;
224 }
225
226 PostThreadMessageW(WM_USER_SET_CHIP, Chip.GetFlag(), 0);
227}
228
229void CSoundGen::DocumentPropertiesChanged(CFamiTrackerDoc *pDocument)
230{

Callers

nothing calls this directly

Calls 1

GetFlagMethod · 0.80

Tested by

no test coverage detected