diff options
-rw-r--r-- | src/audio.c | 2 | ||||
-rw-r--r-- | src/audio.h | 2 | ||||
-rw-r--r-- | src/conf.c | 4 | ||||
-rw-r--r-- | src/conf.h | 4 |
4 files changed, 9 insertions, 3 deletions
diff --git a/src/audio.c b/src/audio.c index 89752e305..0567b6452 100644 --- a/src/audio.c +++ b/src/audio.c @@ -39,7 +39,7 @@ static struct audio_format input_audio_format; static struct audio_output *audioOutputArray; static unsigned int audioOutputArraySize; -static unsigned int audio_output_count(void) +unsigned int audio_output_count(void) { unsigned int nr = 0; ConfigParam *param = NULL; diff --git a/src/audio.h b/src/audio.h index df2f5a9d3..98c377b7e 100644 --- a/src/audio.h +++ b/src/audio.h @@ -28,6 +28,8 @@ struct audio_format; struct tag; struct client; +unsigned int audio_output_count(void); + void getOutputAudioFormat(const struct audio_format *inFormat, struct audio_format *outFormat); diff --git a/src/conf.c b/src/conf.c index 583980cc1..63f9024f3 100644 --- a/src/conf.c +++ b/src/conf.c @@ -60,7 +60,7 @@ static int get_bool(const char *value) return CONF_BOOL_INVALID; } -static ConfigParam *newConfigParam(char *value, int line) +ConfigParam *newConfigParam(const char *value, int line) { ConfigParam *ret = g_new(ConfigParam, 1); @@ -187,7 +187,7 @@ void initConf(void) 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) { param->numberOfBlockParams++; diff --git a/src/conf.h b/src/conf.h index 2b73bb6d7..ad7500225 100644 --- a/src/conf.h +++ b/src/conf.h @@ -103,4 +103,8 @@ bool config_get_bool(const char *name, bool default_value); 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 |