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

@@ -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");