[PATCH v4 0/9] MR217: windows.media.speech: ISpeechSynthesisStream stub implementation.

Rémi Bernon (@rbernon) wine at gitlab.winehq.org
Mon Jun 13 14:23:39 CDT 2022


Rémi Bernon (@rbernon) commented about dlls/windows.media.speech/tests/speech.c:
> +
> +    IAsyncOperation_SpeechSynthesisStream_Release(operation_ss_stream);
> +
> +    operation_ss_stream = (void *)0xdeadbeef;
> +    hr = ISpeechSynthesizer_SynthesizeSsmlToStreamAsync(synthesizer, NULL, &operation_ss_stream);
> +    /* Broken on Win 8 + 8.1 */
> +    todo_wine ok(hr == S_OK || broken(hr == E_INVALIDARG), "ISpeechSynthesizer_SynthesizeSsmlToStreamAsync failed, hr %#lx\n", hr);
> +    todo_wine ok(!!operation_ss_stream || broken(operation_ss_stream == NULL), "operation_ss_stream had value %p.\n", operation_ss_stream);
> +    if (hr == S_OK) IAsyncOperation_SpeechSynthesisStream_Release(operation_ss_stream);
> +
> +    operation_ss_stream = (void *)0xdeadbeef;
> +    hr = ISpeechSynthesizer_SynthesizeSsmlToStreamAsync(synthesizer, str, &operation_ss_stream);
> +    /* Broken on Win 8 + 8.1 */
> +    todo_wine ok(hr == S_OK || broken(hr == SPERR_WINRT_INCORRECT_FORMAT), "ISpeechSynthesizer_SynthesizeSsmlToStreamAsync failed, hr %#lx\n", hr);
> +    todo_wine ok(!!operation_ss_stream || broken(operation_ss_stream == NULL), "operation_ss_stream had value %p.\n", operation_ss_stream);
> +    if (hr == S_OK) IAsyncOperation_SpeechSynthesisStream_Release(operation_ss_stream);
Same here.

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/217#note_1975



More information about the wine-devel mailing list