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
f15f06af
Commit
f15f06af
authored
Dec 01, 2006
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Dec 04, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msacm32: Make some data const.
parent
9d1686c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
pcmconverter.c
dlls/msacm32/pcmconverter.c
+8
-4
No files found.
dlls/msacm32/pcmconverter.c
View file @
f15f06af
...
...
@@ -90,7 +90,7 @@ typedef struct tagAcmPcmData {
/* table to list all supported formats... those are the basic ones. this
* also helps given a unique index to each of the supported formats
*/
static
struct
{
static
const
struct
{
int
nChannels
;
int
nBits
;
int
rate
;
...
...
@@ -374,7 +374,10 @@ static void cvtSS168K(const unsigned char* src, int ns, unsigned char* dst)
}
}
static
void
(
*
PCM_ConvertKeepRate
[
16
])(
const
unsigned
char
*
,
int
,
unsigned
char
*
)
=
{
typedef
void
(
*
PCM_CONVERT_KEEP_RATE
)(
const
unsigned
char
*
,
int
,
unsigned
char
*
);
static
const
PCM_CONVERT_KEEP_RATE
PCM_ConvertKeepRate
[
16
]
=
{
cvtSS88K
,
cvtSM88K
,
cvtMS88K
,
cvtMM88K
,
cvtSS816K
,
cvtSM816K
,
cvtMS816K
,
cvtMM816K
,
cvtSS168K
,
cvtSM168K
,
cvtMS168K
,
cvtMM168K
,
...
...
@@ -701,8 +704,9 @@ static void cvtMM1616C(DWORD srcRate, const unsigned char* src, LPDWORD nsrc,
}
}
static
void
(
*
PCM_ConvertChangeRate
[
16
])(
DWORD
srcRate
,
const
unsigned
char
*
src
,
LPDWORD
nsrc
,
DWORD
dstRate
,
unsigned
char
*
dst
,
LPDWORD
ndst
)
=
{
typedef
void
(
*
PCM_CONVERT_CHANGE_RATE
)(
DWORD
,
const
unsigned
char
*
,
LPDWORD
,
DWORD
,
unsigned
char
*
,
LPDWORD
);
static
const
PCM_CONVERT_CHANGE_RATE
PCM_ConvertChangeRate
[
16
]
=
{
cvtSS88C
,
cvtSM88C
,
cvtMS88C
,
cvtMM88C
,
cvtSS816C
,
cvtSM816C
,
cvtMS816C
,
cvtMM816C
,
cvtSS168C
,
cvtSM168C
,
cvtMS168C
,
cvtMM168C
,
...
...
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