output/Print: print the plugin name
This commit is contained in:
@@ -58,6 +58,12 @@ AudioOutputControl::GetName() const noexcept
|
||||
return output->GetName();
|
||||
}
|
||||
|
||||
const char *
|
||||
AudioOutputControl::GetPluginName() const noexcept
|
||||
{
|
||||
return output->GetPluginName();
|
||||
}
|
||||
|
||||
const char *
|
||||
AudioOutputControl::GetLogName() const noexcept
|
||||
{
|
||||
|
@@ -232,6 +232,9 @@ public:
|
||||
gcc_pure
|
||||
const char *GetName() const noexcept;
|
||||
|
||||
gcc_pure
|
||||
const char *GetPluginName() const noexcept;
|
||||
|
||||
gcc_pure
|
||||
const char *GetLogName() const noexcept;
|
||||
|
||||
|
@@ -147,6 +147,10 @@ public:
|
||||
return name;
|
||||
}
|
||||
|
||||
const char *GetPluginName() const noexcept {
|
||||
return plugin_name;
|
||||
}
|
||||
|
||||
const char *GetLogName() const noexcept {
|
||||
return log_name.c_str();
|
||||
}
|
||||
|
@@ -36,7 +36,10 @@ printAudioDevices(Response &r, const MultipleOutputs &outputs)
|
||||
|
||||
r.Format("outputid: %u\n"
|
||||
"outputname: %s\n"
|
||||
"plugin: %s\n"
|
||||
"outputenabled: %i\n",
|
||||
i, ao.GetName(), ao.IsEnabled());
|
||||
i,
|
||||
ao.GetName(), ao.GetPluginName(),
|
||||
ao.IsEnabled());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user