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
0d6bc907
Commit
0d6bc907
authored
Dec 21, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 24, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msacm32: Remove unneeded casts.
parent
20c0ba23
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
driver.c
dlls/msacm32/driver.c
+1
-1
pcmconverter.c
dlls/msacm32/pcmconverter.c
+2
-2
No files found.
dlls/msacm32/driver.c
View file @
0d6bc907
...
...
@@ -299,7 +299,7 @@ MMRESULT WINAPI acmDriverDetailsW(HACMDRIVERID hadid, PACMDRIVERDETAILSW padd, D
if
(
mmr
==
MMSYSERR_NOERROR
)
{
ACMDRIVERDETAILSW
paddw
;
paddw
.
cbStruct
=
sizeof
(
paddw
);
mmr
=
(
MMRESULT
)
MSACM_Message
(
acmDrvr
,
ACMDM_DRIVER_DETAILS
,
(
LPARAM
)
&
paddw
,
0
);
mmr
=
MSACM_Message
(
acmDrvr
,
ACMDM_DRIVER_DETAILS
,
(
LPARAM
)
&
paddw
,
0
);
acmDriverClose
(
acmDrvr
,
0
);
paddw
.
cbStruct
=
min
(
padd
->
cbStruct
,
sizeof
(
*
padd
));
...
...
dlls/msacm32/pcmconverter.c
View file @
0d6bc907
...
...
@@ -1006,8 +1006,8 @@ static LRESULT PCM_StreamConvert(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMHEADER
if
(
adsi
->
fdwDriver
&
PCM_RESAMPLE
)
{
DWORD
nsrc2
=
nsrc
;
DWORD
ndst2
=
ndst
;
apd
->
cvt
.
cvtChangeRate
(
(
DWORD
)
adsi
->
pwfxSrc
->
nSamplesPerSec
,
adsh
->
pbSrc
,
&
nsrc2
,
(
DWORD
)
adsi
->
pwfxDst
->
nSamplesPerSec
,
adsh
->
pbDst
,
&
ndst2
);
apd
->
cvt
.
cvtChangeRate
(
adsi
->
pwfxSrc
->
nSamplesPerSec
,
adsh
->
pbSrc
,
&
nsrc2
,
adsi
->
pwfxDst
->
nSamplesPerSec
,
adsh
->
pbDst
,
&
ndst2
);
nsrc
-=
nsrc2
;
ndst
-=
ndst2
;
}
else
{
...
...
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