Exemplo n.º 1
0
 public CSCoreSoundOutProvider()
 {
     _mmNotificationClient = new MMNotificationClient();
     SoundOutModes = new ObservableCollection<ISoundOutMode>();
     LoadSoundOutModes();
     LoadEvents();
 }
Exemplo n.º 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) => { };
     }
 }
Exemplo n.º 3
0
 public SoundOutManager(CSCoreEngine engine)
 {
     BaseEngine = engine;
     _mmNotificationClient = new MMNotificationClient();
 }