aboutsummaryrefslogtreecommitdiff
path: root/src/output_internal.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-21 22:37:28 +0200
committerMax Kellermann <max@duempel.org>2009-10-21 22:37:28 +0200
commit2c05430002c66f69c498eec40b961d4eabef66c2 (patch)
treef7e51c0943d5df0993382315f2baada763f34083 /src/output_internal.h
parent643650dba75becfe572c1b334d1276a1b3f66d41 (diff)
output: convert config_audio_format to an audio_format struct
This allows more sophisticated audio format selection.
Diffstat (limited to 'src/output_internal.h')
-rw-r--r--src/output_internal.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/output_internal.h b/src/output_internal.h
index 4eb77cc4..f27a10ec 100644
--- a/src/output_internal.h
+++ b/src/output_internal.h
@@ -66,12 +66,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?
*/
bool enabled;
@@ -100,6 +94,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).
*/