sapi: Start async queue in ISpVoice::SetOutput.

This commit is contained in:
Shaun Ren 2023-08-04 13:43:13 -04:00 committed by Alexandre Julliard
parent 679e3a9d00
commit cdc3eeb776

View file

@ -591,6 +591,9 @@ static HRESULT WINAPI spvoice_SetOutput(ISpVoice *iface, IUnknown *unk, BOOL all
if (!allow_format_changes)
FIXME("ignoring allow_format_changes = FALSE.\n");
if (FAILED(hr = async_start_queue(&This->queue)))
return hr;
if (!unk)
{
/* TODO: Create the default SpAudioOut token here once SpMMAudioEnum is implemented. */