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
ece244b7
Commit
ece244b7
authored
May 27, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
May 30, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msadp32.acm: Constify some variables.
parent
0bfd5801
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
msadp32.c
dlls/msadp32.acm/msadp32.c
+5
-5
No files found.
dlls/msadp32.acm/msadp32.c
View file @
ece244b7
...
...
@@ -55,7 +55,7 @@ static LRESULT ADPCM_drvClose(DWORD_PTR dwDevID)
typedef
struct
tagAcmAdpcmData
{
void
(
*
convert
)(
PACMDRVSTREAMINSTANCE
adsi
,
void
(
*
convert
)(
const
ACMDRVSTREAMINSTANCE
*
adsi
,
const
unsigned
char
*
,
LPDWORD
,
unsigned
char
*
,
LPDWORD
);
}
AcmAdpcmData
;
...
...
@@ -101,7 +101,7 @@ static ADPCMCOEFSET MSADPCM_CoeffSet[] =
/***********************************************************************
* ADPCM_GetFormatIndex
*/
static
DWORD
ADPCM_GetFormatIndex
(
WAVEFORMATEX
*
wfx
)
static
DWORD
ADPCM_GetFormatIndex
(
const
WAVEFORMATEX
*
wfx
)
{
int
i
,
hi
;
const
Format
*
fmts
;
...
...
@@ -204,7 +204,7 @@ static inline void process_nibble(unsigned nibble, int* idelta,
if
(
*
idelta
<
16
)
*
idelta
=
16
;
}
static
void
cvtSSms16K
(
PACMDRVSTREAMINSTANCE
adsi
,
static
void
cvtSSms16K
(
const
ACMDRVSTREAMINSTANCE
*
adsi
,
const
unsigned
char
*
src
,
LPDWORD
nsrc
,
unsigned
char
*
dst
,
LPDWORD
ndst
)
{
...
...
@@ -254,7 +254,7 @@ static void cvtSSms16K(PACMDRVSTREAMINSTANCE adsi,
}
}
static
void
cvtMMms16K
(
PACMDRVSTREAMINSTANCE
adsi
,
static
void
cvtMMms16K
(
const
ACMDRVSTREAMINSTANCE
*
adsi
,
const
unsigned
char
*
src
,
LPDWORD
nsrc
,
unsigned
char
*
dst
,
LPDWORD
ndst
)
{
...
...
@@ -616,7 +616,7 @@ static LRESULT ADPCM_StreamClose(PACMDRVSTREAMINSTANCE adsi)
* ADPCM_StreamSize
*
*/
static
LRESULT
ADPCM_StreamSize
(
PACMDRVSTREAMINSTANCE
adsi
,
PACMDRVSTREAMSIZE
adss
)
static
LRESULT
ADPCM_StreamSize
(
const
ACMDRVSTREAMINSTANCE
*
adsi
,
PACMDRVSTREAMSIZE
adss
)
{
switch
(
adss
->
fdwSize
)
{
...
...
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