272 |
for (::gig::Region* pRegion = pInstrument->GetFirstRegion(); pRegion; pRegion = pInstrument->GetNextRegion()) |
for (::gig::Region* pRegion = pInstrument->GetFirstRegion(); pRegion; pRegion = pInstrument->GetNextRegion()) |
273 |
if (pRegion->KeyGroup) ActiveKeyGroups[pRegion->KeyGroup] = NULL; |
if (pRegion->KeyGroup) ActiveKeyGroups[pRegion->KeyGroup] = NULL; |
274 |
|
|
275 |
|
InstrumentIdxName = pInstrument->pInfo->Name; |
276 |
InstrumentStat = 100; |
InstrumentStat = 100; |
277 |
|
|
278 |
// inform audio driver for the need of two channels |
// inform audio driver for the need of two channels |
1182 |
return InstrumentFile; |
return InstrumentFile; |
1183 |
} |
} |
1184 |
|
|
1185 |
|
String Engine::InstrumentName() { |
1186 |
|
return InstrumentIdxName; |
1187 |
|
} |
1188 |
|
|
1189 |
int Engine::InstrumentIndex() { |
int Engine::InstrumentIndex() { |
1190 |
return InstrumentIdx; |
return InstrumentIdx; |
1191 |
} |
} |
1199 |
} |
} |
1200 |
|
|
1201 |
String Engine::Version() { |
String Engine::Version() { |
1202 |
String s = "$Revision: 1.23 $"; |
String s = "$Revision: 1.24 $"; |
1203 |
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 |
1204 |
} |
} |
1205 |
|
|