/[svn]/linuxsampler/trunk/src/engines/gig/DiskThread.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/gig/DiskThread.cpp

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

revision 1854 by schoenebeck, Sun Dec 7 01:26:46 2008 UTC revision 1855 by iliev, Mon Mar 2 15:33:38 2009 UTC
# Line 365  namespace LinuxSampler { namespace gig { Line 365  namespace LinuxSampler { namespace gig {
365      }      }
366    
367      void DiskThread::DeleteStream(delete_command_t& Command) {      void DiskThread::DeleteStream(delete_command_t& Command) {
368          if (Command.pStream) Command.pStream->Kill();          if (Command.pStream) {
369                Command.pStream->Kill();
370                if (Command.bNotify) DeletionNotificationQueue.push(&Command.hStream);
371            }
372          else { // the stream wasn't created by disk thread or picked up by audio thread yet          else { // the stream wasn't created by disk thread or picked up by audio thread yet
373    
374              // if stream was created but not picked up yet              // if stream was created but not picked up yet

Legend:
Removed from v.1854  
changed lines
  Added in v.1855

  ViewVC Help
Powered by ViewVC