212 |
if (hStream != Stream::INVALID_HANDLE) { // voice actually used a stream |
if (hStream != Stream::INVALID_HANDLE) { // voice actually used a stream |
213 |
iPendingStreamDeletions++; |
iPendingStreamDeletions++; |
214 |
} |
} |
215 |
|
// free the voice to the voice pool and update key info |
216 |
|
FreeVoice(pEngineChannel, itVoice); |
217 |
} |
} |
218 |
} |
} |
219 |
} |
} |
445 |
if (hStream != Stream::INVALID_HANDLE) { // voice actually used a stream |
if (hStream != Stream::INVALID_HANDLE) { // voice actually used a stream |
446 |
iPendingStreamDeletions++; |
iPendingStreamDeletions++; |
447 |
} |
} |
448 |
|
//NOTE: maybe we should call FreeVoice() here, shouldn't cause a harm though I think, since the voices should be freed by RenderActiveVoices() in the render loop, they are probably just freed a bit later than they could/should be |
449 |
} |
} |
450 |
} |
} |
451 |
} |
} |
2222 |
} |
} |
2223 |
|
|
2224 |
String Engine::Version() { |
String Engine::Version() { |
2225 |
String s = "$Revision: 1.101 $"; |
String s = "$Revision: 1.102 $"; |
2226 |
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 |
2227 |
} |
} |
2228 |
|
|