Browse Source

audio_output/winstore: report the default device to the core

For now we don't list other devices
pull/118/head
Steve Lhomme 6 years ago
parent
commit
a300249e98
  1. 7
      modules/audio_output/winstore.c

7
modules/audio_output/winstore.c

@ -552,6 +552,13 @@ static int Open(vlc_object_t *obj)
return VLC_EGENERIC;
}
char *psz_default = FromWide(sys->default_device);
if (likely(psz_default != NULL))
{
aout_HotplugReport(aout, psz_default, _("Default"));
free(psz_default);
}
InitializeCriticalSection(&sys->lock);
vlc_sem_init(&sys->async_completed, 0);

Loading…
Cancel
Save