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; }
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; }