aboutsummaryrefslogtreecommitdiff
path: root/backends/text-to-speech
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-07-27 01:06:35 +0200
committerFilippos Karapetis2019-09-01 22:47:55 +0300
commite965df1e8830c994da959ceaeb153d85fae7b859 (patch)
tree59c09649feb3594e4bae6a3ed9289d3cbd09529a /backends/text-to-speech
parent990ab617939c301b49fa6399180d4370deeb0461 (diff)
downloadscummvm-rg350-e965df1e8830c994da959ceaeb153d85fae7b859.tar.gz
scummvm-rg350-e965df1e8830c994da959ceaeb153d85fae7b859.tar.bz2
scummvm-rg350-e965df1e8830c994da959ceaeb153d85fae7b859.zip
TTS: Add TTS support when compiling with msvc.
Diffstat (limited to 'backends/text-to-speech')
-rw-r--r--backends/text-to-speech/windows/sphelper-scummvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/text-to-speech/windows/sphelper-scummvm.h b/backends/text-to-speech/windows/sphelper-scummvm.h
index d910a65f67..d622fda593 100644
--- a/backends/text-to-speech/windows/sphelper-scummvm.h
+++ b/backends/text-to-speech/windows/sphelper-scummvm.h
@@ -1371,7 +1371,7 @@ public:
WAVEFORMATEX * m_pCoMemWaveFormatEx;
- static CoMemCopyWFEX(const WAVEFORMATEX * pSrc, WAVEFORMATEX ** ppCoMemWFEX)
+ static HRESULT CoMemCopyWFEX(const WAVEFORMATEX * pSrc, WAVEFORMATEX ** ppCoMemWFEX)
{
ULONG cb = sizeof(WAVEFORMATEX) + pSrc->cbSize;
*ppCoMemWFEX = (WAVEFORMATEX *)::CoTaskMemAlloc(cb);