aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-22 17:12:32 +0200
committerMax Kellermann <max@duempel.org>2009-10-22 17:12:32 +0200
commita05d0d5d94412dfcc7b01ca6941df1d183676926 (patch)
treeea12cd367aa8d5f236eafd6786be4f134e460f67
parent0107ef2aadd5956669e3b64fe1df6f7a8f964a3f (diff)
downloadmpd-a05d0d5d94412dfcc7b01ca6941df1d183676926.tar.gz
mpd-a05d0d5d94412dfcc7b01ca6941df1d183676926.tar.xz
mpd-a05d0d5d94412dfcc7b01ca6941df1d183676926.zip
audio: removed function finishAudioConfig()
There's no point in clearing the audio format before exiting.
-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();