示例#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;
 }
示例#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;
 }