Ring Daemon 16.0.0
|
Go to the source code of this file.
Classes | |
class | AudioDeviceNotificationClient |
struct | AudioDeviceNotificationClient_deleter |
Typedefs | |
typedef std::unique_ptr< AudioDeviceNotificationClient, AudioDeviceNotificationClient_deleter > | AudioDeviceNotificationClientPtr |
using | DeviceEventCallback = std::function< void(const std::string &deviceName, DeviceEventType)> |
Enumerations | |
enum class | DeviceEventType { BecameActive , BecameInactive , DefaultChanged , PropertyChanged } |
Functions | |
std::string | GetFriendlyNameFromIMMDeviceId (CComPtr< IMMDeviceEnumerator > enumerator, LPCWSTR deviceId) |
std::string | to_string (DeviceEventType type) |
typedef std::unique_ptr<AudioDeviceNotificationClient, AudioDeviceNotificationClient_deleter> AudioDeviceNotificationClientPtr |
Definition at line 308 of file audio_device_monitor.h.
using DeviceEventCallback = std::function<void(const std::string& deviceName, DeviceEventType)> |
Definition at line 53 of file audio_device_monitor.h.
|
strong |
Enumerator | |
---|---|
BecameActive | |
BecameInactive | |
DefaultChanged | |
PropertyChanged |
Definition at line 37 of file audio_device_monitor.h.
std::string GetFriendlyNameFromIMMDeviceId | ( | CComPtr< IMMDeviceEnumerator > | enumerator, |
LPCWSTR | deviceId | ||
) |
Definition at line 56 of file audio_device_monitor.h.
References jami::to_string().
Referenced by AudioDeviceNotificationClient::OnDefaultDeviceChanged(), and AudioDeviceNotificationClient::OnPropertyValueChanged().
|
inline |
Definition at line 39 of file audio_device_monitor.h.
References BecameActive, BecameInactive, DefaultChanged, and PropertyChanged.