From 3be5db04308d2fb233b33a82089cd9afacf68cc9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 24 Sep 2008 07:20:37 +0200 Subject: output: added audio_output_get_name() Reduce direct accesses to the audio_output struct from the plugins: this time, eliminate all accesses to audio_output.name. The name is required by some plugins for log messages. --- src/output_api.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/output_api.h') diff --git a/src/output_api.h b/src/output_api.h index 8744fa08e..b76da5cde 100644 --- a/src/output_api.h +++ b/src/output_api.h @@ -99,4 +99,6 @@ struct audio_output { extern struct notify audio_output_client_notify; +const char *audio_output_get_name(const struct audio_output *ao); + #endif -- cgit v1.2.3