Sunshine latest
Self-hosted game stream host for Moonlight.
platf::audio::audio_notification_t Class Reference
Inheritance diagram for platf::audio::audio_notification_t:
[legend]
Collaboration diagram for platf::audio::audio_notification_t:
[legend]

Public Member Functions

ULONG STDMETHODCALLTYPE AddRef ()
 
bool check_default_render_device_changed ()
 Checks if the default rendering device changed and resets the change flag.
 
HRESULT STDMETHODCALLTYPE OnDefaultDeviceChanged (EDataFlow flow, ERole role, LPCWSTR pwstrDeviceId)
 
HRESULT STDMETHODCALLTYPE OnDeviceAdded (LPCWSTR pwstrDeviceId)
 
HRESULT STDMETHODCALLTYPE OnDeviceRemoved (LPCWSTR pwstrDeviceId)
 
HRESULT STDMETHODCALLTYPE OnDeviceStateChanged (LPCWSTR pwstrDeviceId, DWORD dwNewState)
 
HRESULT STDMETHODCALLTYPE OnPropertyValueChanged (LPCWSTR pwstrDeviceId, const PROPERTYKEY key)
 
HRESULT STDMETHODCALLTYPE QueryInterface (REFIID riid, VOID **ppvInterface)
 
ULONG STDMETHODCALLTYPE Release ()
 

Member Function Documentation

◆ check_default_render_device_changed()

bool platf::audio::audio_notification_t::check_default_render_device_changed ( )
inline

Checks if the default rendering device changed and resets the change flag.

Returns
true if the device changed since last call

The documentation for this class was generated from the following file: