output/Control: inline GetName()
This commit is contained in:
parent
fef79931c5
commit
e74788ea32
|
@ -99,12 +99,6 @@ AudioOutputControl::ReplaceDummy(std::unique_ptr<FilteredAudioOutput> new_output
|
||||||
client.ApplyEnabled();
|
client.ApplyEnabled();
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *
|
|
||||||
AudioOutputControl::GetName() const noexcept
|
|
||||||
{
|
|
||||||
return name.c_str();
|
|
||||||
}
|
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
AudioOutputControl::GetPluginName() const noexcept
|
AudioOutputControl::GetPluginName() const noexcept
|
||||||
{
|
{
|
||||||
|
|
|
@ -269,7 +269,9 @@ public:
|
||||||
AudioOutputControl &operator=(const AudioOutputControl &) = delete;
|
AudioOutputControl &operator=(const AudioOutputControl &) = delete;
|
||||||
|
|
||||||
[[gnu::pure]]
|
[[gnu::pure]]
|
||||||
const char *GetName() const noexcept;
|
const char *GetName() const noexcept {
|
||||||
|
return name.c_str();
|
||||||
|
}
|
||||||
|
|
||||||
[[gnu::pure]]
|
[[gnu::pure]]
|
||||||
const char *GetPluginName() const noexcept;
|
const char *GetPluginName() const noexcept;
|
||||||
|
|
Loading…
Reference in New Issue