/[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 226 by schoenebeck, Wed Aug 25 22:00:33 2004 UTC revision 272 by schoenebeck, Fri Oct 8 21:03:32 2004 UTC
# Line 244  namespace LinuxSampler { Line 244  namespace LinuxSampler {
244          int result = 0;          int result = 0;
245    
246          // let all connected engines render audio for the current audio fragment cycle          // let all connected engines render audio for the current audio fragment cycle
247            #if USE_EXCEPTIONS
248            try
249            #endif // USE_EXCEPTIONS
250          {          {
251              std::set<Engine*>::iterator iterEngine = Engines.begin();              std::set<Engine*>::iterator iterEngine = Engines.begin();
252              std::set<Engine*>::iterator end        = Engines.end();              std::set<Engine*>::iterator end        = Engines.end();
# Line 252  namespace LinuxSampler { Line 255  namespace LinuxSampler {
255                  if (res != 0) result = res;                  if (res != 0) result = res;
256              }              }
257          }          }
258            #if USE_EXCEPTIONS
259            catch (std::runtime_error se) {
260                std::cerr << "std::runtime_error: " << se.what() << std::endl << std::flush;
261                exit(EXIT_FAILURE);
262            }
263            #endif // USE_EXCEPTIONS
264    
265          return result;          return result;
266      }      }

Legend:
Removed from v.226  
changed lines
  Added in v.272

  ViewVC Help
Powered by ViewVC