Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
b751d9ad
Commit
b751d9ad
authored
Apr 06, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Apr 06, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmsynth: Put port caps that match native ones.
parent
3e48fe9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
synth.c
dlls/dmsynth/synth.c
+5
-4
No files found.
dlls/dmsynth/synth.c
View file @
b751d9ad
...
...
@@ -233,7 +233,8 @@ static const IDirectMusicSynth8Vtbl DirectMusicSynth8_Vtbl = {
};
/* for ClassFactory */
HRESULT
WINAPI
DMUSIC_CreateDirectMusicSynthImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
{
HRESULT
WINAPI
DMUSIC_CreateDirectMusicSynthImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
{
IDirectMusicSynth8Impl
*
obj
;
TRACE
(
"(%p,%p,%p)
\n
"
,
lpcGUID
,
ppobj
,
pUnkOuter
);
...
...
@@ -249,12 +250,12 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicSynthImpl (LPCGUID lpcGUID, LPVOID* ppobj
obj
->
pCaps
.
dwFlags
=
DMUS_PC_DLS
|
DMUS_PC_SOFTWARESYNTH
|
DMUS_PC_DIRECTSOUND
|
DMUS_PC_DLS2
|
DMUS_PC_AUDIOPATH
|
DMUS_PC_WAVE
;
obj
->
pCaps
.
guidPort
=
CLSID_DirectMusicSynth
;
obj
->
pCaps
.
dwClass
=
DMUS_PC_OUTPUTCLASS
;
obj
->
pCaps
.
dwType
=
DMUS_PORT_
WINMM_DRIVER
;
obj
->
pCaps
.
dwType
=
DMUS_PORT_
USER_MODE_SYNTH
;
obj
->
pCaps
.
dwMemorySize
=
DMUS_PC_SYSTEMMEMORY
;
obj
->
pCaps
.
dwMaxChannelGroups
=
1000
;
obj
->
pCaps
.
dwMaxVoices
=
1000
;
obj
->
pCaps
.
dwMaxAudioChannels
=
-
1
;
obj
->
pCaps
.
dwEffectFlags
=
DMUS_EFFECT_REVERB
|
DMUS_EFFECT_CHORUS
|
DMUS_EFFECT_DELAY
;
obj
->
pCaps
.
dwMaxAudioChannels
=
2
;
obj
->
pCaps
.
dwEffectFlags
=
DMUS_EFFECT_REVERB
;
MultiByteToWideChar
(
CP_ACP
,
0
,
"Microsoft Synthesizer"
,
-
1
,
obj
->
pCaps
.
wszDescription
,
sizeof
(
obj
->
pCaps
.
wszDescription
)
/
sizeof
(
WCHAR
));
/* assign latency clock */
/*DMUSIC_CreateReferenceClockImpl (&IID_IReferenceClock, (LPVOID*)&This->pLatencyClock, NULL); */
...
...
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