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
37afecb8
Commit
37afecb8
authored
Jan 23, 2010
by
Eric Pouech
Committed by
Alexandre Julliard
Jan 25, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: A couple of simple fixes for winmm compilation on 64bit platforms.
parent
2d956be1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
audio.c
dlls/winejack.drv/audio.c
+1
-1
winmm.c
dlls/winmm/winmm.c
+3
-3
No files found.
dlls/winejack.drv/audio.c
View file @
37afecb8
...
...
@@ -397,7 +397,7 @@ static int JACK_callback_wwo (nframes_t nframes, void *arg)
if
(
wwo
->
buffer_size
<
(
nframes
*
sizeof
(
short
)
*
2
))
{
ERR
(
"for some reason JACK_BufSize() didn't allocate enough memory
\n
"
);
ERR
(
"allocated %ld bytes, need %d bytes
\n
"
,
wwo
->
buffer_size
,
(
nframes
*
sizeof
(
short
)
*
2
));
ERR
(
"allocated %ld bytes, need %d bytes
\n
"
,
wwo
->
buffer_size
,
(
nframes
*
(
unsigned
)
sizeof
(
short
)
*
2
));
return
0
;
}
...
...
dlls/winmm/winmm.c
View file @
37afecb8
...
...
@@ -732,7 +732,7 @@ UINT WINAPI auxGetVolume(UINT uDeviceID, DWORD* lpdwVolume)
TRACE
(
"(%04X, %p) !
\n
"
,
uDeviceID
,
lpdwVolume
);
if
((
wmld
=
MMDRV_Get
((
HANDLE
)
uDeviceID
,
MMDRV_AUX
,
TRUE
))
==
NULL
)
if
((
wmld
=
MMDRV_Get
((
HANDLE
)
(
DWORD_PTR
)
uDeviceID
,
MMDRV_AUX
,
TRUE
))
==
NULL
)
return
MMSYSERR_INVALHANDLE
;
return
MMDRV_Message
(
wmld
,
AUXDM_GETVOLUME
,
(
DWORD_PTR
)
lpdwVolume
,
0L
);
}
...
...
@@ -746,7 +746,7 @@ UINT WINAPI auxSetVolume(UINT uDeviceID, DWORD dwVolume)
TRACE
(
"(%04X, %u) !
\n
"
,
uDeviceID
,
dwVolume
);
if
((
wmld
=
MMDRV_Get
((
HANDLE
)
uDeviceID
,
MMDRV_AUX
,
TRUE
))
==
NULL
)
if
((
wmld
=
MMDRV_Get
((
HANDLE
)
(
DWORD_PTR
)
uDeviceID
,
MMDRV_AUX
,
TRUE
))
==
NULL
)
return
MMSYSERR_INVALHANDLE
;
return
MMDRV_Message
(
wmld
,
AUXDM_SETVOLUME
,
dwVolume
,
0L
);
}
...
...
@@ -758,7 +758,7 @@ UINT WINAPI auxOutMessage(UINT uDeviceID, UINT uMessage, DWORD_PTR dw1, DWORD_PT
{
LPWINE_MLD
wmld
;
if
((
wmld
=
MMDRV_Get
((
HANDLE
)
uDeviceID
,
MMDRV_AUX
,
TRUE
))
==
NULL
)
if
((
wmld
=
MMDRV_Get
((
HANDLE
)
(
DWORD_PTR
)
uDeviceID
,
MMDRV_AUX
,
TRUE
))
==
NULL
)
return
MMSYSERR_INVALHANDLE
;
return
MMDRV_Message
(
wmld
,
uMessage
,
dw1
,
dw2
);
...
...
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