diff options
author | Max Kellermann <max@duempel.org> | 2008-09-24 07:20:37 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-24 07:20:37 +0200 |
commit | 3be5db04308d2fb233b33a82089cd9afacf68cc9 (patch) | |
tree | 6f24df6b003fd06cf4271264a7d27f8ed05709af /src/output_api.h | |
parent | 2403d32a5007572f853c7782957f86aedf3d3aff (diff) | |
download | mpd-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.h | 2 |
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 |