247 |
int result = 0; |
int result = 0; |
248 |
|
|
249 |
// let all connected engines render audio for the current audio fragment cycle |
// let all connected engines render audio for the current audio fragment cycle |
250 |
#if USE_EXCEPTIONS |
#if CONFIG_RT_EXCEPTIONS |
251 |
try |
try |
252 |
#endif // USE_EXCEPTIONS |
#endif // CONFIG_RT_EXCEPTIONS |
253 |
{ |
{ |
254 |
std::set<Engine*>::iterator iterEngine = Engines.begin(); |
std::set<Engine*>::iterator iterEngine = Engines.begin(); |
255 |
std::set<Engine*>::iterator end = Engines.end(); |
std::set<Engine*>::iterator end = Engines.end(); |
258 |
if (res != 0) result = res; |
if (res != 0) result = res; |
259 |
} |
} |
260 |
} |
} |
261 |
#if USE_EXCEPTIONS |
#if CONFIG_RT_EXCEPTIONS |
262 |
catch (std::runtime_error se) { |
catch (std::runtime_error se) { |
263 |
std::cerr << "std::runtime_error: " << se.what() << std::endl << std::flush; |
std::cerr << "std::runtime_error: " << se.what() << std::endl << std::flush; |
264 |
exit(EXIT_FAILURE); |
exit(EXIT_FAILURE); |
265 |
} |
} |
266 |
#endif // USE_EXCEPTIONS |
#endif // CONFIG_RT_EXCEPTIONS |
267 |
|
|
268 |
return result; |
return result; |
269 |
} |
} |