diff options
author | Max Kellermann <max@musicpd.org> | 2017-02-10 22:41:11 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-01-07 17:20:26 +0100 |
commit | 8649ea3d6fcbad110ecb668b8485cf4b8b45caba (patch) | |
tree | 0ad6948c8f77286aea01d524a2ca16220983139b /src/decoder/DecoderControl.cxx | |
parent | 752ff12c37741d7b2bc52619529dabb59e91a998 (diff) |
thread/Thread: use BoundMethod
Diffstat (limited to 'src/decoder/DecoderControl.cxx')
-rw-r--r-- | src/decoder/DecoderControl.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decoder/DecoderControl.cxx b/src/decoder/DecoderControl.cxx index 7a271b281..ef9b0bd5a 100644 --- a/src/decoder/DecoderControl.cxx +++ b/src/decoder/DecoderControl.cxx @@ -30,7 +30,8 @@ DecoderControl::DecoderControl(Mutex &_mutex, Cond &_client_cond, const AudioFormat _configured_audio_format, const ReplayGainConfig &_replay_gain_config) - :mutex(_mutex), client_cond(_client_cond), + :thread(BIND_THIS_METHOD(RunThread)), + mutex(_mutex), client_cond(_client_cond), configured_audio_format(_configured_audio_format), replay_gain_config(_replay_gain_config) {} |