#include <icy/av/win32/mediafoundation.h>Inherits:
DeviceWatcher
Monitors device add/remove events via IMMNotificationClient (audio) and RegisterDeviceNotification (video).
| Return | Name | Description |
|---|---|---|
WindowsDeviceWatcher explicit | #### Parameters | |
bool | start virtual | Begin monitoring via IMMNotificationClient and RegisterDeviceNotification. |
void | stop virtual | Stop monitoring and unregister all device notifications. |
explicit
explicit WindowsDeviceWatcher(DeviceManager * manager)manager The DeviceManager whose DevicesChanged signal will be emitted on changes.virtual
virtual bool start()Begin monitoring via IMMNotificationClient and RegisterDeviceNotification.
True if monitoring was successfully started.
virtual
virtual void stop()Stop monitoring and unregister all device notifications.
std::unique_ptr< Impl > _implDeviceManager * _manager