Commit a05d0d5d authored by Max Kellermann's avatar Max Kellermann

audio: removed function finishAudioConfig()

There's no point in clearing the audio format before exiting.
parent 0107ef2a
......@@ -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);
}
......@@ -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
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment