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.
This commit is contained in:
Max Kellermann
2008-09-24 07:20:37 +02:00
parent 2403d32a50
commit 3be5db0430
4 changed files with 28 additions and 1 deletions

View File

@@ -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