diff options
author | Max Kellermann <max@musicpd.org> | 2016-12-29 23:23:28 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2016-12-29 23:28:54 +0100 |
commit | 4484411a77fe3f01fc450e525729a2c6f5911024 (patch) | |
tree | a2989f7cde4734d01f781ded4e8fbff20d8764e9 /src/mixer/MixerAll.cxx | |
parent | 61a151c803b2794804a73b7810136b5f43940d04 (diff) |
output/Internal: add various trivial getter methods
Diffstat (limited to 'src/mixer/MixerAll.cxx')
-rw-r--r-- | src/mixer/MixerAll.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mixer/MixerAll.cxx b/src/mixer/MixerAll.cxx index f82d940f6..ae423f089 100644 --- a/src/mixer/MixerAll.cxx +++ b/src/mixer/MixerAll.cxx @@ -45,7 +45,7 @@ output_mixer_get_volume(const AudioOutput &ao) } catch (const std::runtime_error &e) { FormatError(e, "Failed to read mixer for '%s'", - ao.name); + ao.GetName()); return -1; } } @@ -88,7 +88,7 @@ output_mixer_set_volume(AudioOutput &ao, unsigned volume) } catch (const std::runtime_error &e) { FormatError(e, "Failed to set mixer for '%s'", - ao.name); + ao.GetName()); return false; } } |