diff options
author | Max Kellermann <max@musicpd.org> | 2020-01-20 14:51:06 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2020-01-20 14:51:08 +0100 |
commit | 4df98466df8b3452de05ae38694ab89cb89499ce (patch) | |
tree | 9999d3ccb598d19f815ef832889ca8aaf8fb3c4e /src/Main.cxx | |
parent | ff2e584bded62e80d1fe160554d659fadd38ad47 (diff) |
output/multiple: add "client" field, replacing the "client" parameter
By eliminating GetAnyClient(), we can have instances with no outputs
at all.
Diffstat (limited to 'src/Main.cxx')
-rw-r--r-- | src/Main.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Main.cxx b/src/Main.cxx index 61f1d7f2b..eec9d6154 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -447,8 +447,7 @@ MainConfigured(const struct options &options, const ConfigData &raw_config) for (auto &partition : instance.partitions) { partition.outputs.Configure(instance.rtio_thread.GetEventLoop(), raw_config, - config.replay_gain, - partition.pc); + config.replay_gain); partition.UpdateEffectiveReplayGainMode(); } |