Commit 4c365832 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

mmdevice: get mmdevice-backend value explicitly

parent 008d355b
......@@ -1113,11 +1113,13 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
EnterCriticalSection(&sys->lock);
for (;;)
{
char *modlist = var_InheritString(aout, "mmdevice-backend");
HRESULT hr;
s->owner.device = sys->dev;
sys->module = vlc_module_load(s, "aout stream", "$mmdevice-backend",
sys->module = vlc_module_load(s, "aout stream", modlist,
false, aout_stream_Start, s, fmt, &hr);
free(modlist);
int ret = -1;
if (hr == AUDCLNT_E_ALREADY_INITIALIZED)
......
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