aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/audio.c5
-rw-r--r--src/audio.h2
-rw-r--r--src/main.c1
3 files changed, 0 insertions, 8 deletions
diff --git a/src/audio.c b/src/audio.c
index 13f128eeb..a0259cb37 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -54,8 +54,3 @@ void initAudioConfig(void)
g_error("error parsing \"%s\" at line %i: %s",
CONF_AUDIO_OUTPUT_FORMAT, param->line, error->message);
}
-
-void finishAudioConfig(void)
-{
- audio_format_clear(&configured_audio_format);
-}
diff --git a/src/audio.h b/src/audio.h
index 4d80ee0e6..4b80cfd27 100644
--- a/src/audio.h
+++ b/src/audio.h
@@ -30,6 +30,4 @@ void getOutputAudioFormat(const struct audio_format *inFormat,
/* make sure initPlayerData is called before this function!! */
void initAudioConfig(void);
-void finishAudioConfig(void);
-
#endif
diff --git a/src/main.c b/src/main.c
index 78964e88d..4b61ab39e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -407,7 +407,6 @@ int main(int argc, char *argv[])
input_stream_global_finish();
finishNormalization();
audio_output_all_finish();
- finishAudioConfig();
volume_finish();
mapper_finish();
path_global_finish();