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:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user