917 |
this->iuiLastStolenKeyGlobally = iuiSelectedKey; |
this->iuiLastStolenKeyGlobally = iuiSelectedKey; |
918 |
this->itLastStolenVoiceGlobally = itSelectedVoice; |
this->itLastStolenVoiceGlobally = itSelectedVoice; |
919 |
this->pLastStolenChannel = pSelectedChannel; |
this->pLastStolenChannel = pSelectedChannel; |
920 |
break; // selection succeeded |
goto stealable_voice_found; // selection succeeded |
921 |
} |
} |
922 |
++iuiSelectedKey; // get next key on current engine channel |
++iuiSelectedKey; // get next key on current engine channel |
923 |
} |
} |
936 |
} |
} |
937 |
} |
} |
938 |
|
|
939 |
|
// jump point if a 'stealable' voice was found |
940 |
|
stealable_voice_found: |
941 |
|
|
942 |
#if CONFIG_DEVMODE |
#if CONFIG_DEVMODE |
943 |
if (!itSelectedVoice->IsActive()) { |
if (!itSelectedVoice->IsActive()) { |
944 |
dmsg(1,("gig::Engine: ERROR, tried to steal a voice which was not active !!!\n")); |
dmsg(1,("gig::Engine: ERROR, tried to steal a voice which was not active !!!\n")); |
1282 |
} |
} |
1283 |
|
|
1284 |
String Engine::Version() { |
String Engine::Version() { |
1285 |
String s = "$Revision: 1.44 $"; |
String s = "$Revision: 1.45 $"; |
1286 |
return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword |
return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword |
1287 |
} |
} |
1288 |
|
|