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
ca91850a
Commit
ca91850a
authored
Jan 10, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Use LONG instead of long in dmusics.h for Win64 compatibility.
parent
3e948a83
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
synth.c
dlls/dmsynth/synth.c
+2
-2
dmusics.h
include/dmusics.h
+1
-1
No files found.
dlls/dmsynth/synth.c
View file @
ca91850a
...
...
@@ -172,9 +172,9 @@ static HRESULT WINAPI IDirectMusicSynth8Impl_GetAppend (LPDIRECTMUSICSYNTH8 ifac
}
/* IDirectMusicSynth8Impl IDirectMusicSynth8 part: */
static
HRESULT
WINAPI
IDirectMusicSynth8Impl_PlayVoice
(
LPDIRECTMUSICSYNTH8
iface
,
REFERENCE_TIME
rt
,
DWORD
dwVoiceId
,
DWORD
dwChannelGroup
,
DWORD
dwChannel
,
DWORD
dwDLId
,
long
prPitch
,
long
vrVolume
,
SAMPLE_TIME
stVoiceStart
,
SAMPLE_TIME
stLoopStart
,
SAMPLE_TIME
stLoopEnd
)
{
static
HRESULT
WINAPI
IDirectMusicSynth8Impl_PlayVoice
(
LPDIRECTMUSICSYNTH8
iface
,
REFERENCE_TIME
rt
,
DWORD
dwVoiceId
,
DWORD
dwChannelGroup
,
DWORD
dwChannel
,
DWORD
dwDLId
,
LONG
prPitch
,
LONG
vrVolume
,
SAMPLE_TIME
stVoiceStart
,
SAMPLE_TIME
stLoopStart
,
SAMPLE_TIME
stLoopEnd
)
{
IDirectMusicSynth8Impl
*
This
=
(
IDirectMusicSynth8Impl
*
)
iface
;
FIXME
(
"(%p, 0x%s, %d, %d, %d, %d, %
li, %l
i,0x%s, 0x%s, 0x%s): stub
\n
"
,
FIXME
(
"(%p, 0x%s, %d, %d, %d, %d, %
i, %
i,0x%s, 0x%s, 0x%s): stub
\n
"
,
This
,
wine_dbgstr_longlong
(
rt
),
dwVoiceId
,
dwChannelGroup
,
dwChannel
,
dwDLId
,
prPitch
,
vrVolume
,
wine_dbgstr_longlong
(
stVoiceStart
),
wine_dbgstr_longlong
(
stLoopStart
),
wine_dbgstr_longlong
(
stLoopEnd
));
return
S_OK
;
...
...
include/dmusics.h
View file @
ca91850a
...
...
@@ -156,7 +156,7 @@ DECLARE_INTERFACE_(IDirectMusicSynth8,IDirectMusicSynth)
STDMETHOD
(
GetFormat
)(
THIS_
LPWAVEFORMATEX
pWaveFormatEx
,
LPDWORD
pdwWaveFormatExSiz
)
PURE
;
STDMETHOD
(
GetAppend
)(
THIS_
DWORD
*
pdwAppend
)
PURE
;
/*** IDirectMusicSynth8 methods ***/
STDMETHOD
(
PlayVoice
)(
THIS_
REFERENCE_TIME
rt
,
DWORD
dwVoiceId
,
DWORD
dwChannelGroup
,
DWORD
dwChannel
,
DWORD
dwDLId
,
long
prPitch
,
long
vrVolume
,
SAMPLE_TIME
stVoiceStart
,
SAMPLE_TIME
stLoopStart
,
SAMPLE_TIME
stLoopEnd
)
PURE
;
STDMETHOD
(
PlayVoice
)(
THIS_
REFERENCE_TIME
rt
,
DWORD
dwVoiceId
,
DWORD
dwChannelGroup
,
DWORD
dwChannel
,
DWORD
dwDLId
,
LONG
prPitch
,
LONG
vrVolume
,
SAMPLE_TIME
stVoiceStart
,
SAMPLE_TIME
stLoopStart
,
SAMPLE_TIME
stLoopEnd
)
PURE
;
STDMETHOD
(
StopVoice
)(
THIS_
REFERENCE_TIME
rt
,
DWORD
dwVoiceId
)
PURE
;
STDMETHOD
(
GetVoiceState
)(
THIS_
DWORD
dwVoice
[],
DWORD
cbVoice
,
DMUS_VOICE_STATE
dwVoiceState
[])
PURE
;
STDMETHOD
(
Refresh
)(
THIS_
DWORD
dwDownloadID
,
DWORD
dwFlags
)
PURE
;
...
...
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