Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
e0aee93d
Commit
e0aee93d
authored
Feb 04, 2009
by
Vincent Pelletier
Committed by
Alexandre Julliard
Feb 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msadp32.acm: Make destination aligned on destination block size (copy/paste error).
parent
7754f2e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
msadp32.c
dlls/msadp32.acm/msadp32.c
+2
-2
No files found.
dlls/msadp32.acm/msadp32.c
View file @
e0aee93d
...
...
@@ -660,7 +660,7 @@ static LRESULT ADPCM_StreamSize(const ACMDRVSTREAMINSTANCE *adsi, PACMDRVSTREAMS
if
(
adss
->
cbSrcLength
%
(
adsi
->
pwfxSrc
->
nBlockAlign
*
wSamplesPerBlock
))
/* Round block count up. */
nblocks
++
;
adss
->
cbDstLength
=
nblocks
*
adsi
->
pwfx
Src
->
nBlockAlign
;
adss
->
cbDstLength
=
nblocks
*
adsi
->
pwfx
Dst
->
nBlockAlign
;
}
else
if
(
adsi
->
pwfxSrc
->
wFormatTag
==
WAVE_FORMAT_ADPCM
&&
adsi
->
pwfxDst
->
wFormatTag
==
WAVE_FORMAT_PCM
)
...
...
@@ -672,7 +672,7 @@ static LRESULT ADPCM_StreamSize(const ACMDRVSTREAMINSTANCE *adsi, PACMDRVSTREAMS
if
(
adss
->
cbSrcLength
%
adsi
->
pwfxSrc
->
nBlockAlign
)
/* Round block count up. */
nblocks
++
;
adss
->
cbDstLength
=
nblocks
*
adsi
->
pwfx
Src
->
nBlockAlign
*
wSamplesPerBlock
;
adss
->
cbDstLength
=
nblocks
*
adsi
->
pwfx
Dst
->
nBlockAlign
*
wSamplesPerBlock
;
}
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