/[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 840 by persson, Sun Feb 26 13:00:08 2006 UTC revision 846 by persson, Sun Mar 19 16:38:22 2006 UTC
# Line 174  namespace LinuxSampler { Line 174  namespace LinuxSampler {
174  // *************** AudioOutputDevice ***************  // *************** AudioOutputDevice ***************
175  // *  // *
176    
177      AudioOutputDevice::AudioOutputDevice(std::map<String,DeviceCreationParameter*> DriverParameters) {      AudioOutputDevice::AudioOutputDevice(std::map<String,DeviceCreationParameter*> DriverParameters)
178            : EnginesReader(Engines) {
179          this->Parameters = DriverParameters;          this->Parameters = DriverParameters;
180      }      }
181    
# Line 250  namespace LinuxSampler { Line 251  namespace LinuxSampler {
251          int result = 0;          int result = 0;
252    
253          // let all connected engines render audio for the current audio fragment cycle          // let all connected engines render audio for the current audio fragment cycle
254          const std::set<Engine*>& engines = Engines.Lock();          const std::set<Engine*>& engines = EnginesReader.Lock();
255          #if CONFIG_RT_EXCEPTIONS          #if CONFIG_RT_EXCEPTIONS
256          try          try
257          #endif // CONFIG_RT_EXCEPTIONS          #endif // CONFIG_RT_EXCEPTIONS
# Line 269  namespace LinuxSampler { Line 270  namespace LinuxSampler {
270          }          }
271          #endif // CONFIG_RT_EXCEPTIONS          #endif // CONFIG_RT_EXCEPTIONS
272    
273          Engines.Unlock();          EnginesReader.Unlock();
274          return result;          return result;
275      }      }
276    

Legend:
Removed from v.840  
changed lines
  Added in v.846

  ViewVC Help
Powered by ViewVC