157 |
bool HandleKeyGroupConflicts |
bool HandleKeyGroupConflicts |
158 |
) { |
) { |
159 |
EngineChannel* pChannel = static_cast<EngineChannel*>(pEngineChannel); |
EngineChannel* pChannel = static_cast<EngineChannel*>(pEngineChannel); |
160 |
MidiKey* pKey = &pChannel->pMIDIKeyInfo[itNoteOnEvent->Param.Note.Key]; |
//MidiKey* pKey = &pChannel->pMIDIKeyInfo[itNoteOnEvent->Param.Note.Key]; |
161 |
::sfz::Query q; |
::sfz::Query q; |
162 |
q.chan = itNoteOnEvent->Param.Note.Channel + 1; |
q.chan = itNoteOnEvent->Param.Note.Channel + 1; |
163 |
q.key = itNoteOnEvent->Param.Note.Key; |
q.key = itNoteOnEvent->Param.Note.Key; |
255 |
bool HandleKeyGroupConflicts |
bool HandleKeyGroupConflicts |
256 |
) { |
) { |
257 |
EngineChannel* pChannel = static_cast<EngineChannel*>(pEngineChannel); |
EngineChannel* pChannel = static_cast<EngineChannel*>(pEngineChannel); |
258 |
int key = itNoteOnEvent->Param.Note.Key; |
//int key = itNoteOnEvent->Param.Note.Key; |
259 |
//EngineChannel::MidiKey* pKey = &pChannel->pMIDIKeyInfo[key]; |
//EngineChannel::MidiKey* pKey = &pChannel->pMIDIKeyInfo[key]; |
260 |
::sfz::Region* pRgn = static_cast< ::sfz::Region*>(itNoteOnEvent->Param.Note.pRegion); |
::sfz::Region* pRgn = static_cast< ::sfz::Region*>(itNoteOnEvent->Param.Note.pRegion); |
261 |
|
|