Module: wine Branch: master Commit: cdc3eeb77638f925e2af1228f32255bcb4fd719f URL: https://gitlab.winehq.org/wine/wine/-/commit/cdc3eeb77638f925e2af1228f32255b...
Author: Shaun Ren sren@codeweavers.com Date: Fri Aug 4 13:43:13 2023 -0400
sapi: Start async queue in ISpVoice::SetOutput.
---
dlls/sapi/tts.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/dlls/sapi/tts.c b/dlls/sapi/tts.c index 4763ef9f324..b1c90627d5e 100644 --- a/dlls/sapi/tts.c +++ b/dlls/sapi/tts.c @@ -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. */