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

Method QueueNote

Source/SoundGen.cpp:1247–1252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1245// Player state functions
1246
1247void CSoundGen::QueueNote(stChannelID Channel, const stChanNote &NoteData, note_prio_t Priority) const // // //
1248{
1249 // Queue a note for play
1250 m_pSoundDriver->QueueNote(Channel, NoteData, Priority);
1251 FTEnv.GetMIDI()->WriteNote((uint8_t)m_pModule->GetChannelOrder().GetChannelIndex(Channel), NoteData.Note, NoteData.Octave, NoteData.Vol);
1252}
1253
1254void CSoundGen::ForceReloadInstrument(stChannelID Channel) // // //
1255{

Callers 6

SwitchOnNoteMethod · 0.45
SwitchOffNoteMethod · 0.45
PlayNoteMethod · 0.45
ReleaseNoteMethod · 0.45
HaltNoteMethod · 0.45
HaltNoteSingleMethod · 0.45

Calls 3

WriteNoteMethod · 0.80
GetChannelIndexMethod · 0.80
GetMIDIMethod · 0.45

Tested by

no test coverage detected