コード例 #1
0
 public SoundService(IPersistenceManager persistenceManager, ISoundWrapper soundWrapper)
 {
     _persistenceManager = persistenceManager;
     _soundWrapper       = soundWrapper;
     LoadOutputDevice();
     LoadPath();
 }
コード例 #2
0
 public SoundProvider()
 {
     this.wrapper = SoundWrapperFactory.Create();
     SoundDevice defaultDevice = GetDeviceOrDefault(null);
     //if (defaultDevice == null) {
     //   this.deviceId = defaultDevice.Id;
     //}
 }
コード例 #3
0
 public SoundProvider()
 {
     this.wrapper = SoundWrapperFactory.Create();
      SoundDevice defaultDevice = GetDeviceOrDefault(null);
      //if (defaultDevice == null) {
      //   this.deviceId = defaultDevice.Id;
      //}
 }