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
c547d8c9
Commit
c547d8c9
authored
Oct 29, 2019
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmsynth: Use a wchar string literal instead of a temp variable.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
666f7501
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
synth.c
dlls/dmsynth/synth.c
+1
-3
No files found.
dlls/dmsynth/synth.c
View file @
c547d8c9
...
...
@@ -574,8 +574,6 @@ static const IKsControlVtbl DMSynthImpl_IKsControl_Vtbl = {
/* for ClassFactory */
HRESULT
WINAPI
DMUSIC_CreateDirectMusicSynthImpl
(
REFIID
riid
,
void
**
ppobj
)
{
static
const
WCHAR
descrW
[]
=
{
'M'
,
'i'
,
'c'
,
'r'
,
'o'
,
's'
,
'o'
,
'f'
,
't'
,
' '
,
'S'
,
'y'
,
'n'
,
't'
,
'h'
,
'e'
,
's'
,
'i'
,
'z'
,
'e'
,
'r'
,
0
};
IDirectMusicSynth8Impl
*
obj
;
HRESULT
hr
;
...
...
@@ -600,7 +598,7 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicSynthImpl(REFIID riid, void **ppobj)
obj
->
pCaps
.
dwMaxVoices
=
1000
;
obj
->
pCaps
.
dwMaxAudioChannels
=
2
;
obj
->
pCaps
.
dwEffectFlags
=
DMUS_EFFECT_REVERB
;
lstrcpyW
(
obj
->
pCaps
.
wszDescription
,
descrW
);
lstrcpyW
(
obj
->
pCaps
.
wszDescription
,
L"Microsoft Synthesizer"
);
DMSYNTH_LockModule
();
hr
=
IDirectMusicSynth8_QueryInterface
(
&
obj
->
IDirectMusicSynth8_iface
,
riid
,
ppobj
);
...
...
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