diff options
author | Max Kellermann <max@musicpd.org> | 2016-12-14 12:14:57 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2016-12-14 20:29:15 +0100 |
commit | ccb45b6f6e6f7d5126dab9cabd651c22136a35ba (patch) | |
tree | 79dae5db62b8a9bb199b9f7b9c842e59d33bc016 /src/output/Init.cxx | |
parent | d2e47e014a2f15413b4b3c414ec92c6555cb77d8 (diff) |
output/Client: new interface to replace direct access to class PlayerControl
Diffstat (limited to 'src/output/Init.cxx')
-rw-r--r-- | src/output/Init.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/Init.cxx b/src/output/Init.cxx index 5efebb492..65234e9bd 100644 --- a/src/output/Init.cxx +++ b/src/output/Init.cxx @@ -275,7 +275,7 @@ audio_output_new(EventLoop &event_loop, const ReplayGainConfig &replay_gain_config, const ConfigBlock &block, MixerListener &mixer_listener, - PlayerControl &pc) + AudioOutputClient &client) { const AudioOutputPlugin *plugin; @@ -311,6 +311,6 @@ audio_output_new(EventLoop &event_loop, throw; } - ao->player_control = &pc; + ao->client = &client; return ao; } |