audio: removed function finishAudioConfig()

There's no point in clearing the audio format before exiting.
This commit is contained in:
Max Kellermann 2009-10-22 17:12:32 +02:00
parent 0107ef2aad
commit a05d0d5d94
3 changed files with 0 additions and 8 deletions

View File

@ -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);
}

View File

@ -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

View File

@ -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();