Commit 6bab9a31 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

mmdevice: update comments

parent e95425cd
...@@ -519,7 +519,7 @@ vlc_MMNotificationClient_OnDefaultDeviceChange(IMMNotificationClient *this, ...@@ -519,7 +519,7 @@ vlc_MMNotificationClient_OnDefaultDeviceChange(IMMNotificationClient *this,
if (flow != eRender) if (flow != eRender)
return S_OK; return S_OK;
if (role != eConsole) /* FIXME? use eMultimedia instead */ if (role != eConsole)
return S_OK; return S_OK;
msg_Dbg(aout, "default device changed: %ls", wid); /* TODO? migrate */ msg_Dbg(aout, "default device changed: %ls", wid); /* TODO? migrate */
...@@ -725,7 +725,8 @@ static HRESULT MMSession(audio_output_t *aout, IMMDeviceEnumerator *it) ...@@ -725,7 +725,8 @@ static HRESULT MMSession(audio_output_t *aout, IMMDeviceEnumerator *it)
hr = AUDCLNT_E_DEVICE_INVALIDATED; hr = AUDCLNT_E_DEVICE_INVALIDATED;
while (hr == AUDCLNT_E_DEVICE_INVALIDATED) while (hr == AUDCLNT_E_DEVICE_INVALIDATED)
{ /* Default device selected by policy */ { /* Default device selected by policy and with stream routing.
* "Do not use eMultimedia" says MSDN. */
msg_Dbg(aout, "using default device"); msg_Dbg(aout, "using default device");
hr = IMMDeviceEnumerator_GetDefaultAudioEndpoint(it, eRender, hr = IMMDeviceEnumerator_GetDefaultAudioEndpoint(it, eRender,
eConsole, &sys->dev); eConsole, &sys->dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment