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
a47e2b98
Commit
a47e2b98
authored
May 20, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msacm32.drv: Fix some Win64 pointer truncations issues.
parent
8f813fd4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
wavemap.c
dlls/msacm32.drv/wavemap.c
+6
-6
No files found.
dlls/msacm32.drv/wavemap.c
View file @
a47e2b98
...
...
@@ -56,8 +56,8 @@ typedef struct tagWAVEMAPDATA {
}
u
;
HACMSTREAM
hAcmStream
;
/* needed data to filter callbacks. Only needed when hAcmStream is not 0 */
DWORD
dwCallback
;
DWORD
dwClientInstance
;
DWORD
_PTR
dwCallback
;
DWORD
_PTR
dwClientInstance
;
DWORD
dwFlags
;
/* ratio to compute position from a PCM playback to any format */
DWORD
avgSpeedOuter
;
...
...
@@ -149,7 +149,7 @@ static DWORD wodOpenHelper(WAVEMAPDATA* wom, UINT idx,
return
ret
;
}
static
DWORD
wodOpen
(
LPDWORD
lpdwUser
,
LPWAVEOPENDESC
lpDesc
,
DWORD
dwFlags
)
static
DWORD
wodOpen
(
DWORD_PTR
*
lpdwUser
,
LPWAVEOPENDESC
lpDesc
,
DWORD
dwFlags
)
{
UINT
ndlo
,
ndhi
;
UINT
i
;
...
...
@@ -627,7 +627,7 @@ DWORD WINAPI WAVEMAP_wodMessage(UINT wDevID, UINT wMsg, DWORD_PTR dwUser,
case
DRVM_DISABLE
:
/* FIXME: Pretend this is supported */
return
0
;
case
WODM_OPEN
:
return
wodOpen
((
LPDWORD
)
dwUser
,
(
LPWAVEOPENDESC
)
dwParam1
,
dwParam2
);
case
WODM_OPEN
:
return
wodOpen
((
DWORD_PTR
*
)
dwUser
,
(
LPWAVEOPENDESC
)
dwParam1
,
dwParam2
);
case
WODM_CLOSE
:
return
wodClose
((
WAVEMAPDATA
*
)
dwUser
);
case
WODM_WRITE
:
return
wodWrite
((
WAVEMAPDATA
*
)
dwUser
,
(
LPWAVEHDR
)
dwParam1
,
dwParam2
);
case
WODM_PAUSE
:
return
wodPause
((
WAVEMAPDATA
*
)
dwUser
);
...
...
@@ -738,7 +738,7 @@ static DWORD widOpenHelper(WAVEMAPDATA* wim, UINT idx,
return
ret
;
}
static
DWORD
widOpen
(
LPDWORD
lpdwUser
,
LPWAVEOPENDESC
lpDesc
,
DWORD
dwFlags
)
static
DWORD
widOpen
(
DWORD_PTR
*
lpdwUser
,
LPWAVEOPENDESC
lpDesc
,
DWORD
dwFlags
)
{
UINT
ndlo
,
ndhi
;
UINT
i
;
...
...
@@ -1157,7 +1157,7 @@ DWORD WINAPI WAVEMAP_widMessage(WORD wDevID, WORD wMsg, DWORD_PTR dwUser,
/* FIXME: Pretend this is supported */
return
0
;
case
WIDM_OPEN
:
return
widOpen
((
LPDWORD
)
dwUser
,
(
LPWAVEOPENDESC
)
dwParam1
,
dwParam2
);
case
WIDM_OPEN
:
return
widOpen
((
DWORD_PTR
*
)
dwUser
,
(
LPWAVEOPENDESC
)
dwParam1
,
dwParam2
);
case
WIDM_CLOSE
:
return
widClose
((
WAVEMAPDATA
*
)
dwUser
);
case
WIDM_ADDBUFFER
:
return
widAddBuffer
((
WAVEMAPDATA
*
)
dwUser
,
(
LPWAVEHDR
)
dwParam1
,
dwParam2
);
...
...
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