public CSCoreSoundOutProvider()
 {
     _mmNotificationClient = new MMNotificationClient();
     SoundOutModes = new ObservableCollection<ISoundOutMode>();
     LoadSoundOutModes();
     LoadEvents();
 }
Exemple #2
0
 public void CanCreateDeviceNotificationEvent()
 {
     using (var enumerator = new MMDeviceEnumerator())
     using (var notification = new MMNotificationClient(enumerator))
     {
         notification.DefaultDeviceChanged += (s, e) => { };
         notification.DeviceAdded += (s, e) => { };
         notification.DevicePropertyChanged += (s, e) => { };
         notification.DeviceRemoved += (s, e) => { };
         notification.DeviceStateChanged += (s, e) => { };
     }
 }
Exemple #3
0
 public SoundOutManager(CSCoreEngine engine)
 {
     BaseEngine = engine;
     _mmNotificationClient = new MMNotificationClient();
 }