player/Control: start thread on demand

Keep MPD's footprint small until playback is requested.
This commit is contained in:
Max Kellermann
2018-09-23 17:32:34 +02:00
parent bf372e3e1f
commit 2ec94c0497
4 changed files with 21 additions and 14 deletions

View File

@@ -109,8 +109,6 @@ handle_newpartition(Client &client, Request request, Response &response)
ReplayGainConfig(),
partition.pc);
partition.UpdateEffectiveReplayGainMode();
partition.pc.StartThread();
partition.pc.LockUpdateAudio();
instance.EmitIdle(IDLE_PARTITION);