From f2f453c45427d1b34a7dae51ce32b33bac796306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aida=20Jonikien=C4=97?= Date: Mon, 25 Mar 2024 19:37:11 +0200 Subject: [PATCH] sapi: Only print GetStatus() FIXME once. The Speedtest app calls this function excessively. --- dlls/sapi/tts.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dlls/sapi/tts.c b/dlls/sapi/tts.c index c474a118981..80f0298b51c 100644 --- a/dlls/sapi/tts.c +++ b/dlls/sapi/tts.c @@ -1068,7 +1068,12 @@ static HRESULT WINAPI spvoice_SpeakStream(ISpVoice *iface, IStream *stream, DWOR static HRESULT WINAPI spvoice_GetStatus(ISpVoice *iface, SPVOICESTATUS *status, WCHAR **bookmark) { - FIXME("(%p, %p, %p): stub.\n", iface, status, bookmark); + static unsigned int once; + + if (!once++) + FIXME("(%p, %p, %p): stub.\n", iface, status, bookmark); + else + WARN("(%p, %p, %p): stub.\n", iface, status, bookmark); return E_NOTIMPL; }