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
279e797c
Commit
279e797c
authored
Feb 09, 2009
by
Stefano Guidoni
Committed by
Alexandre Julliard
Feb 11, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msadp32: Block align size is proportional to the number of channels.
parent
c262d5b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
msadp32.c
dlls/msadp32.acm/msadp32.c
+4
-4
No files found.
dlls/msadp32.acm/msadp32.c
View file @
279e797c
...
...
@@ -162,10 +162,10 @@ static void init_wfx_adpcm(ADPCMWAVEFORMAT* awfx)
switch
(
pwfx
->
nSamplesPerSec
)
{
case
8000
:
pwfx
->
nBlockAlign
=
256
;
break
;
case
11025
:
pwfx
->
nBlockAlign
=
256
;
break
;
case
22050
:
pwfx
->
nBlockAlign
=
512
;
break
;
case
44100
:
pwfx
->
nBlockAlign
=
1024
;
break
;
case
8000
:
pwfx
->
nBlockAlign
=
256
*
pwfx
->
nChannels
;
break
;
case
11025
:
pwfx
->
nBlockAlign
=
256
*
pwfx
->
nChannels
;
break
;
case
22050
:
pwfx
->
nBlockAlign
=
512
*
pwfx
->
nChannels
;
break
;
case
44100
:
pwfx
->
nBlockAlign
=
1024
*
pwfx
->
nChannels
;
break
;
default:
break
;
}
pwfx
->
cbSize
=
2
*
sizeof
(
WORD
)
+
7
*
sizeof
(
ADPCMCOEFSET
);
...
...
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