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
dd9af72a
Commit
dd9af72a
authored
Dec 31, 2008
by
Viliam Mateicka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
exporting functions
parent
3cd0b90f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
3 deletions
+9
-3
audio.c
src/audio.c
+1
-1
audio.h
src/audio.h
+2
-0
conf.c
src/conf.c
+2
-2
conf.h
src/conf.h
+4
-0
No files found.
src/audio.c
View file @
dd9af72a
...
@@ -39,7 +39,7 @@ static struct audio_format input_audio_format;
...
@@ -39,7 +39,7 @@ static struct audio_format input_audio_format;
static
struct
audio_output
*
audioOutputArray
;
static
struct
audio_output
*
audioOutputArray
;
static
unsigned
int
audioOutputArraySize
;
static
unsigned
int
audioOutputArraySize
;
static
unsigned
int
audio_output_count
(
void
)
unsigned
int
audio_output_count
(
void
)
{
{
unsigned
int
nr
=
0
;
unsigned
int
nr
=
0
;
ConfigParam
*
param
=
NULL
;
ConfigParam
*
param
=
NULL
;
...
...
src/audio.h
View file @
dd9af72a
...
@@ -28,6 +28,8 @@ struct audio_format;
...
@@ -28,6 +28,8 @@ struct audio_format;
struct
tag
;
struct
tag
;
struct
client
;
struct
client
;
unsigned
int
audio_output_count
(
void
);
void
getOutputAudioFormat
(
const
struct
audio_format
*
inFormat
,
void
getOutputAudioFormat
(
const
struct
audio_format
*
inFormat
,
struct
audio_format
*
outFormat
);
struct
audio_format
*
outFormat
);
...
...
src/conf.c
View file @
dd9af72a
...
@@ -60,7 +60,7 @@ static int get_bool(const char *value)
...
@@ -60,7 +60,7 @@ static int get_bool(const char *value)
return
CONF_BOOL_INVALID
;
return
CONF_BOOL_INVALID
;
}
}
static
ConfigParam
*
newConfigParam
(
char
*
value
,
int
line
)
ConfigParam
*
newConfigParam
(
const
char
*
value
,
int
line
)
{
{
ConfigParam
*
ret
=
g_new
(
ConfigParam
,
1
);
ConfigParam
*
ret
=
g_new
(
ConfigParam
,
1
);
...
@@ -187,7 +187,7 @@ void initConf(void)
...
@@ -187,7 +187,7 @@ void initConf(void)
registerConfigParam
(
CONF_GAPLESS_MP3_PLAYBACK
,
0
,
0
);
registerConfigParam
(
CONF_GAPLESS_MP3_PLAYBACK
,
0
,
0
);
}
}
static
void
addBlockParam
(
ConfigParam
*
param
,
char
*
name
,
char
*
value
,
void
addBlockParam
(
ConfigParam
*
param
,
const
char
*
name
,
const
char
*
value
,
int
line
)
int
line
)
{
{
param
->
numberOfBlockParams
++
;
param
->
numberOfBlockParams
++
;
...
...
src/conf.h
View file @
dd9af72a
...
@@ -103,4 +103,8 @@ bool config_get_bool(const char *name, bool default_value);
...
@@ -103,4 +103,8 @@ bool config_get_bool(const char *name, bool default_value);
int
getBoolBlockParam
(
ConfigParam
*
param
,
const
char
*
name
,
int
force
);
int
getBoolBlockParam
(
ConfigParam
*
param
,
const
char
*
name
,
int
force
);
ConfigParam
*
newConfigParam
(
const
char
*
value
,
int
line
);
void
addBlockParam
(
ConfigParam
*
param
,
const
char
*
name
,
const
char
*
value
,
int
line
);
#endif
#endif
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