Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
2cee8153
Commit
2cee8153
authored
Jun 02, 2022
by
Bernhard Kölbl
Committed by
Alexandre Julliard
Jun 02, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windows.media.speech: Add some comments to describe the code regions in synthesizer.c.
Signed-off-by:
Bernhard Kölbl
<
besentv@gmail.com
>
parent
7090d6c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
0 deletions
+48
-0
synthesizer.c
dlls/windows.media.speech/synthesizer.c
+48
-0
No files found.
dlls/windows.media.speech/synthesizer.c
View file @
2cee8153
...
...
@@ -23,6 +23,12 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
speech
);
/*
*
* IVectorView_VoiceInformation
*
*/
struct
voice_information_vector
{
IVectorView_VoiceInformation
IVectorView_VoiceInformation_iface
;
...
...
@@ -140,6 +146,12 @@ static struct voice_information_vector all_voices =
0
};
/*
*
* SpeechSynthesizer runtimeclass
*
*/
struct
synthesizer
{
ISpeechSynthesizer
ISpeechSynthesizer_iface
;
...
...
@@ -148,6 +160,12 @@ struct synthesizer
LONG
ref
;
};
/*
*
* ISpeechSynthesizer for SpeechSynthesizer runtimeclass
*
*/
static
inline
struct
synthesizer
*
impl_from_ISpeechSynthesizer
(
ISpeechSynthesizer
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
struct
synthesizer
,
ISpeechSynthesizer_iface
);
...
...
@@ -266,6 +284,12 @@ static const struct ISpeechSynthesizerVtbl synthesizer_vtbl =
synthesizer_get_Voice
,
};
/*
*
* ISpeechSynthesizer2 for SpeechSynthesizer runtimeclass
*
*/
DEFINE_IINSPECTABLE
(
synthesizer2
,
ISpeechSynthesizer2
,
struct
synthesizer
,
ISpeechSynthesizer_iface
)
static
HRESULT
WINAPI
synthesizer2_get_Options
(
ISpeechSynthesizer2
*
iface
,
ISpeechSynthesizerOptions
**
value
)
...
...
@@ -288,6 +312,12 @@ static const struct ISpeechSynthesizer2Vtbl synthesizer2_vtbl =
synthesizer2_get_Options
,
};
/*
*
* IClosable for SpeechSynthesizer runtimeclass
*
*/
DEFINE_IINSPECTABLE
(
closable
,
IClosable
,
struct
synthesizer
,
ISpeechSynthesizer_iface
)
static
HRESULT
WINAPI
closable_Close
(
IClosable
*
iface
)
...
...
@@ -310,6 +340,12 @@ static const struct IClosableVtbl closable_vtbl =
closable_Close
,
};
/*
*
* Static interfaces for SpeechSynthesizer runtimeclass
*
*/
struct
synthesizer_statics
{
IActivationFactory
IActivationFactory_iface
;
...
...
@@ -317,6 +353,12 @@ struct synthesizer_statics
LONG
ref
;
};
/*
*
* IActivationFactory for SpeechSynthesizer runtimeclass
*
*/
static
inline
struct
synthesizer_statics
*
impl_from_IActivationFactory
(
IActivationFactory
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
struct
synthesizer_statics
,
IActivationFactory_iface
);
...
...
@@ -416,6 +458,12 @@ static const struct IActivationFactoryVtbl factory_vtbl =
factory_ActivateInstance
,
};
/*
*
* IInstalledVoicesStatic for SpeechSynthesizer runtimeclass
*
*/
DEFINE_IINSPECTABLE
(
installed_voices_static
,
IInstalledVoicesStatic
,
struct
synthesizer_statics
,
IActivationFactory_iface
)
static
HRESULT
WINAPI
installed_voices_static_get_AllVoices
(
IInstalledVoicesStatic
*
iface
,
IVectorView_VoiceInformation
**
value
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment