aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs/audioOutput_ao.c
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/audioOutputs/audioOutput_ao.c
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 '')
-rw-r--r--src/audioOutputs/audioOutput_ao.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audioOutputs/audioOutput_ao.c b/src/audioOutputs/audioOutput_ao.c
index c1266f311..aeb267cef 100644
--- a/src/audioOutputs/audioOutput_ao.c
+++ b/src/audioOutputs/audioOutput_ao.c
@@ -100,7 +100,7 @@ static int audioOutputAo_initDriver(struct audio_output *audioOutput,
}
DEBUG("using ao driver \"%s\" for \"%s\"\n", ai->short_name,
- audioOutput->name);
+ audio_output_get_name(audioOutput));
blockParam = getBlockParam(param, "options");