aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_internal.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-02 20:36:28 +0100
committerMax Kellermann <max@duempel.org>2013-01-02 20:36:28 +0100
commit975deca85b3fb881571203c9a2cad4eb242cd954 (patch)
treede6f8c57fee4b3b80aafd7a9c087a6b6b90ffadb /src/decoder_internal.h
parent3bbb5023871aaba48b6f503dd53d864f9a44c07d (diff)
downloadmpd-975deca85b3fb881571203c9a2cad4eb242cd954.tar.gz
mpd-975deca85b3fb881571203c9a2cad4eb242cd954.tar.xz
mpd-975deca85b3fb881571203c9a2cad4eb242cd954.zip
{decoder,player}_thread: convert to C++
Diffstat (limited to 'src/decoder_internal.h')
-rw-r--r--src/decoder_internal.h7
1 files changed, 7 insertions, 0 deletions
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
};
/**