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
2486357f
Commit
2486357f
authored
Feb 10, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineesd.drv: Remove superfluous pointer casts.
parent
caa604b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
audio.c
dlls/wineesd.drv/audio.c
+7
-7
No files found.
dlls/wineesd.drv/audio.c
View file @
2486357f
...
...
@@ -244,8 +244,8 @@ static const char *wodPlayerCmdString[] = {
static
void
volume_effect16
(
void
*
bufin
,
void
*
bufout
,
int
length
,
int
left
,
int
right
,
int
nChannels
)
{
short
*
d_out
=
(
short
*
)
bufout
;
short
*
d_in
=
(
short
*
)
bufin
;
short
*
d_out
=
bufout
;
short
*
d_in
=
bufin
;
int
i
,
v
;
/*
...
...
@@ -270,8 +270,8 @@ static void volume_effect16(void *bufin, void* bufout, int length, int left,
static
void
volume_effect8
(
void
*
bufin
,
void
*
bufout
,
int
length
,
int
left
,
int
right
,
int
nChannels
)
{
BYTE
*
d_out
=
(
BYTE
*
)
bufout
;
BYTE
*
d_in
=
(
BYTE
*
)
bufin
;
BYTE
*
d_out
=
bufout
;
BYTE
*
d_in
=
bufin
;
int
i
,
v
;
/*
...
...
@@ -1133,8 +1133,8 @@ static DWORD wodPlayer_FeedDSP(WINE_WAVEOUT* wwo)
*/
static
DWORD
CALLBACK
wodPlayer
(
LPVOID
pmt
)
{
WORD
uDevID
=
(
DWORD
)
pmt
;
WINE_WAVEOUT
*
wwo
=
(
WINE_WAVEOUT
*
)
&
WOutDev
[
uDevID
];
WORD
uDevID
=
(
DWORD
)
pmt
;
WINE_WAVEOUT
*
wwo
=
&
WOutDev
[
uDevID
];
DWORD
dwNextFeedTime
=
INFINITE
;
/* Time before DSP needs feeding */
DWORD
dwNextNotifyTime
=
INFINITE
;
/* Time before next wave completion */
DWORD
dwSleepTime
;
...
...
@@ -1679,7 +1679,7 @@ static DWORD widGetDevCaps(WORD wDevID, LPWAVEINCAPSW lpCaps, DWORD dwSize)
static
DWORD
CALLBACK
widRecorder
(
LPVOID
pmt
)
{
WORD
uDevID
=
(
DWORD
)
pmt
;
WINE_WAVEIN
*
wwi
=
(
WINE_WAVEIN
*
)
&
WInDev
[
uDevID
];
WINE_WAVEIN
*
wwi
=
&
WInDev
[
uDevID
];
WAVEHDR
*
lpWaveHdr
;
DWORD
dwSleepTime
;
int
bytesRead
;
...
...
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