/[svn]/linuxsampler/trunk/src/drivers/audio/AudioOutputDevice.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/drivers/audio/AudioOutputDevice.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 553 by schoenebeck, Sat Feb 26 22:44:51 2005 UTC revision 554 by schoenebeck, Thu May 19 19:25:14 2005 UTC
# Line 247  namespace LinuxSampler { Line 247  namespace LinuxSampler {
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();
# Line 258  namespace LinuxSampler { Line 258  namespace LinuxSampler {
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      }      }

Legend:
Removed from v.553  
changed lines
  Added in v.554

  ViewVC Help
Powered by ViewVC