sapi: Only print GetStatus() FIXME once.

The Speedtest app calls this function excessively.
This commit is contained in:
Aida Jonikienė 2024-03-25 19:37:11 +02:00 committed by Alexandre Julliard
parent 617b29c402
commit f2f453c454

View file

@ -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) 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; return E_NOTIMPL;
} }