| 53 | } |
| 54 | |
| 55 | static std::unique_ptr<AudioOutputControl> |
| 56 | LoadOutputControl(EventLoop &event_loop, EventLoop &rt_event_loop, |
| 57 | const ReplayGainConfig &replay_gain_config, |
| 58 | MixerListener &mixer_listener, |
| 59 | AudioOutputClient &client, const ConfigBlock &block, |
| 60 | const AudioOutputDefaults &defaults, |
| 61 | FilterFactory *filter_factory) |
| 62 | { |
| 63 | auto output = LoadOutput(event_loop, rt_event_loop, |
| 64 | replay_gain_config, |
| 65 | mixer_listener, |
| 66 | block, defaults, filter_factory); |
| 67 | return std::make_unique<AudioOutputControl>(std::move(output), |
| 68 | client, block); |
| 69 | } |
| 70 | |
| 71 | void |
| 72 | MultipleOutputs::Configure(EventLoop &event_loop, EventLoop &rt_event_loop, |