audio: removed function finishAudioConfig()
There's no point in clearing the audio format before exiting.
This commit is contained in:
parent
0107ef2aad
commit
a05d0d5d94
|
@ -54,8 +54,3 @@ void initAudioConfig(void)
|
||||||
g_error("error parsing \"%s\" at line %i: %s",
|
g_error("error parsing \"%s\" at line %i: %s",
|
||||||
CONF_AUDIO_OUTPUT_FORMAT, param->line, error->message);
|
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!! */
|
/* make sure initPlayerData is called before this function!! */
|
||||||
void initAudioConfig(void);
|
void initAudioConfig(void);
|
||||||
|
|
||||||
void finishAudioConfig(void);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -407,7 +407,6 @@ int main(int argc, char *argv[])
|
||||||
input_stream_global_finish();
|
input_stream_global_finish();
|
||||||
finishNormalization();
|
finishNormalization();
|
||||||
audio_output_all_finish();
|
audio_output_all_finish();
|
||||||
finishAudioConfig();
|
|
||||||
volume_finish();
|
volume_finish();
|
||||||
mapper_finish();
|
mapper_finish();
|
||||||
path_global_finish();
|
path_global_finish();
|
||||||
|
|
Loading…
Reference in New Issue