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
4bd4e5d3
Commit
4bd4e5d3
authored
Feb 17, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Feb 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msadp32.acm: Constify some variables.
parent
d076f55e
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 @
4bd4e5d3
...
...
@@ -69,7 +69,7 @@ typedef struct
int
rate
;
}
Format
;
static
Format
PCM_Formats
[]
=
static
const
Format
PCM_Formats
[]
=
{
{
1
,
8
,
8000
},
{
2
,
8
,
8000
},
{
1
,
16
,
8000
},
{
2
,
16
,
8000
},
{
1
,
8
,
11025
},
{
2
,
8
,
11025
},
{
1
,
16
,
11025
},
{
2
,
16
,
11025
},
...
...
@@ -77,7 +77,7 @@ static Format PCM_Formats[] =
{
1
,
8
,
44100
},
{
2
,
8
,
44100
},
{
1
,
16
,
44100
},
{
2
,
16
,
44100
},
};
static
Format
ADPCM_Formats
[]
=
static
const
Format
ADPCM_Formats
[]
=
{
{
1
,
4
,
8000
},
{
2
,
4
,
8000
},
{
1
,
4
,
11025
},
{
2
,
4
,
11025
},
{
1
,
4
,
22050
},
{
2
,
4
,
22050
},
{
1
,
4
,
44100
},
{
2
,
4
,
44100
},
...
...
@@ -103,8 +103,8 @@ static ADPCMCOEFSET MSADPCM_CoeffSet[] =
*/
static
DWORD
ADPCM_GetFormatIndex
(
WAVEFORMATEX
*
wfx
)
{
int
i
,
hi
;
Format
*
fmts
;
int
i
,
hi
;
const
Format
*
fmts
;
switch
(
wfx
->
wFormatTag
)
{
...
...
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