Commit 5d828ad2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

DirectSound: report initially selected device

parent 5632a0ad
...@@ -1021,7 +1021,11 @@ static int Open(vlc_object_t *obj) ...@@ -1021,7 +1021,11 @@ static int Open(vlc_object_t *obj)
free(names); free(names);
free(ids); free(ids);
} }
var_Create(aout, "directx-audio-device", VLC_VAR_STRING|VLC_VAR_DOINHERIT);
char *dev = var_CreateGetNonEmptyString(aout, "directx-audio-device");
aout_DeviceReport(aout, dev);
free(dev);
return VLC_SUCCESS; return VLC_SUCCESS;
} }
......
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