aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_api.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-24 07:20:37 +0200
committerMax Kellermann <max@duempel.org>2008-09-24 07:20:37 +0200
commit3be5db04308d2fb233b33a82089cd9afacf68cc9 (patch)
tree6f24df6b003fd06cf4271264a7d27f8ed05709af /src/output_api.h
parent2403d32a5007572f853c7782957f86aedf3d3aff (diff)
downloadmpd-3be5db04308d2fb233b33a82089cd9afacf68cc9.tar.gz
mpd-3be5db04308d2fb233b33a82089cd9afacf68cc9.tar.xz
mpd-3be5db04308d2fb233b33a82089cd9afacf68cc9.zip
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.
Diffstat (limited to 'src/output_api.h')
-rw-r--r--src/output_api.h2
1 files changed, 2 insertions, 0 deletions
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