Esempio n. 1
0
 public SoundOutMode(string name, SoundOutType type, GetSoundOutDevice soundDeviceDelegate, GetISoundOut getISoundOutDelegate, ISoundOutDevice windowsDefaultDevice)
 {
     Name    = name;
     Devices = new ObservableCollection <ISoundOutDevice>();
     _soundOutDeviceDelegate = soundDeviceDelegate;
     _windowsDefaultDevice   = windowsDefaultDevice;
     _getISoundOut           = getISoundOutDelegate;
     SoundOutType            = type;
 }
Esempio n. 2
0
 public SoundOutMode(string name, SoundOutType type, GetSoundOutDevice soundDeviceDelegate, GetISoundOut getISoundOutDelegate, ISoundOutDevice windowsDefaultDevice)
 {
     Name = name;
     Devices = new ObservableCollection<ISoundOutDevice>();
     _soundOutDeviceDelegate = soundDeviceDelegate;
     _windowsDefaultDevice = windowsDefaultDevice;
     _getISoundOut = getISoundOutDelegate;
     SoundOutType = type;
 }