From 66a2c5669e1fcd709a00bd4de8ddfb0d3a0c2a58 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 26 Mar 2009 18:23:23 +0100 Subject: output_plugin: replaced output_plugin.get_mixer() with mixer_plugin The mixer core library is now responsible for creating and managing the mixer object. This removes duplicated code from the output plugins. --- src/output_internal.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/output_internal.h') diff --git a/src/output_internal.h b/src/output_internal.h index 9fc2425c..362d2494 100644 --- a/src/output_internal.h +++ b/src/output_internal.h @@ -52,6 +52,13 @@ struct audio_output { */ void *data; + /** + * The #mixer object associated with this audio output device. + * May be NULL if none is available, or if software volume is + * configured. + */ + struct mixer *mixer; + /** * This flag is true, when the audio_format of this device is * configured in mpd.conf. -- cgit v1.2.3