Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
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
Иван Мажукин
mpd
Commits
8a7b9d9f
Commit
8a7b9d9f
authored
Oct 03, 2011
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsd2pcm: fix prototypes
Fixes gcc warnings.
parent
3fcf463f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
dsd2pcm.c
src/dsd2pcm/dsd2pcm.c
+2
-2
dsd2pcm.h
src/dsd2pcm/dsd2pcm.h
+1
-1
No files found.
src/dsd2pcm/dsd2pcm.c
View file @
8a7b9d9f
...
...
@@ -87,7 +87,7 @@ static float ctables[CTABLES][256];
static
unsigned
char
bitreverse
[
256
];
static
int
precalculated
=
0
;
static
void
precalc
()
static
void
precalc
(
void
)
{
int
t
,
e
,
m
,
k
;
double
acc
;
...
...
@@ -117,7 +117,7 @@ struct dsd2pcm_ctx_s
unsigned
fifopos
;
};
extern
dsd2pcm_ctx
*
dsd2pcm_init
()
extern
dsd2pcm_ctx
*
dsd2pcm_init
(
void
)
{
dsd2pcm_ctx
*
ptr
;
if
(
!
precalculated
)
precalc
();
...
...
src/dsd2pcm/dsd2pcm.h
View file @
8a7b9d9f
...
...
@@ -20,7 +20,7 @@ typedef struct dsd2pcm_ctx_s dsd2pcm_ctx;
* POSIX thread-safety definition because it modifies global state
* (lookup tables are computed during the first call)
*/
extern
dsd2pcm_ctx
*
dsd2pcm_init
();
extern
dsd2pcm_ctx
*
dsd2pcm_init
(
void
);
/**
* deinitializes a "dsd2pcm engine"
...
...
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