summaryrefslogtreecommitdiff
path: root/src/command
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-09-23 17:32:34 +0200
committerMax Kellermann <max@musicpd.org>2018-09-23 17:32:34 +0200
commit2ec94c049738b9f324b96e1b34311f99222c15b4 (patch)
treed2c3e2ff2684a02df4ed05e1aa2c5d1ad78edd6e /src/command
parentbf372e3e1f6668c76b497b63acdf96a3fea6477c (diff)
player/Control: start thread on demand
Keep MPD's footprint small until playback is requested.
Diffstat (limited to 'src/command')
-rw-r--r--src/command/PartitionCommands.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/command/PartitionCommands.cxx b/src/command/PartitionCommands.cxx
index e3de9677f..379dcd51a 100644
--- a/src/command/PartitionCommands.cxx
+++ b/src/command/PartitionCommands.cxx
@@ -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);