Module: wine Branch: master Commit: f2f453c45427d1b34a7dae51ce32b33bac796306 URL: https://gitlab.winehq.org/wine/wine/-/commit/f2f453c45427d1b34a7dae51ce32b33...
Author: Aida JonikienÄ— aidas957@gmail.com Date: Mon Mar 25 19:37:11 2024 +0200
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; }