/[svn]/linuxsampler/trunk/src/Sampler.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/Sampler.cpp

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

revision 980 by iliev, Thu Nov 30 10:39:12 2006 UTC revision 981 by iliev, Sun Dec 17 22:35:01 2006 UTC
# Line 311  namespace LinuxSampler { Line 311  namespace LinuxSampler {
311              }              }
312          }          }
313    
314            LSCPServer::SendLSCPNotify(LSCPEvent(LSCPEvent::event_audio_device_count, AudioOutputDevices()));
315          return pDevice;          return pDevice;
316      }      }
317    
# Line 347  namespace LinuxSampler { Line 348  namespace LinuxSampler {
348                  // destroy and free device from memory                  // destroy and free device from memory
349                  delete pDevice;                  delete pDevice;
350    
351                    LSCPServer::SendLSCPNotify(LSCPEvent(LSCPEvent::event_audio_device_count, AudioOutputDevices()));
352                  break;                  break;
353              }              }
354          }          }
# Line 369  namespace LinuxSampler { Line 371  namespace LinuxSampler {
371                  // destroy and free device from memory                  // destroy and free device from memory
372                  delete pDevice;                  delete pDevice;
373    
374                    LSCPServer::SendLSCPNotify(LSCPEvent(LSCPEvent::event_midi_device_count, MidiInputDevices()));
375                  break;                  break;
376              }              }
377          }          }
# Line 386  namespace LinuxSampler { Line 389  namespace LinuxSampler {
389                  }                  }
390          }          }
391    
392            LSCPServer::SendLSCPNotify(LSCPEvent(LSCPEvent::event_midi_device_count, MidiInputDevices()));
393          return pDevice;          return pDevice;
394      }      }
395    

Legend:
Removed from v.980  
changed lines
  Added in v.981

  ViewVC Help
Powered by ViewVC