From 2c05430002c66f69c498eec40b961d4eabef66c2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 21 Oct 2009 22:37:28 +0200 Subject: output: convert config_audio_format to an audio_format struct This allows more sophisticated audio format selection. --- src/output_internal.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/output_internal.h') diff --git a/src/output_internal.h b/src/output_internal.h index 4eb77cc49..f27a10ec7 100644 --- a/src/output_internal.h +++ b/src/output_internal.h @@ -65,12 +65,6 @@ struct audio_output { */ struct mixer *mixer; - /** - * This flag is true, when the audio_format of this device is - * configured in mpd.conf. - */ - bool config_audio_format; - /** * Has the user enabled this device? */ @@ -99,6 +93,11 @@ struct audio_output { */ GTimer *fail_timer; + /** + * The configured audio format. + */ + struct audio_format config_audio_format; + /** * The audio_format in which audio data is received from the * player thread (which in turn receives it from the decoder). -- cgit v1.2.3