From 975deca85b3fb881571203c9a2cad4eb242cd954 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 2 Jan 2013 20:36:28 +0100 Subject: {decoder,player}_thread: convert to C++ --- src/decoder_internal.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/decoder_internal.h') diff --git a/src/decoder_internal.h b/src/decoder_internal.h index d89e68cfc..5bc7e216d 100644 --- a/src/decoder_internal.h +++ b/src/decoder_internal.h @@ -80,6 +80,13 @@ struct decoder { * has changed since the last check. */ unsigned replay_gain_serial; + +#ifdef __cplusplus + decoder(decoder_control *_dc, bool _initial_seek_pending) + :dc(_dc), + initial_seek_pending(_initial_seek_pending), + initial_seek_running(false) {} +#endif }; /** -- cgit v1.2.3