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/audioOutputs/audioOutput_ao.c | |
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 '')
-rw-r--r-- | src/audioOutputs/audioOutput_ao.c | 2 |
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"); |