From e138e2c880d2e5ae4728bd821e3a2789cb605a11 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 12 May 2014 18:59:25 +0200 Subject: [PATCH] input/cdio: convert to class --- src/input/plugins/CdioParanoiaInputPlugin.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/input/plugins/CdioParanoiaInputPlugin.cxx b/src/input/plugins/CdioParanoiaInputPlugin.cxx index 11b98d2e7..534084e0d 100644 --- a/src/input/plugins/CdioParanoiaInputPlugin.cxx +++ b/src/input/plugins/CdioParanoiaInputPlugin.cxx @@ -50,7 +50,7 @@ #include -struct CdioParanoiaInputStream final : public InputStream { +class CdioParanoiaInputStream final : public InputStream { cdrom_drive_t *const drv; CdIo_t *const cdio; cdrom_paranoia_t *const para; @@ -61,6 +61,7 @@ struct CdioParanoiaInputStream final : public InputStream { char buffer[CDIO_CD_FRAMESIZE_RAW]; int buffer_lsn; + public: CdioParanoiaInputStream(const char *_uri, Mutex &_mutex, Cond &_cond, cdrom_drive_t *_drv, CdIo_t *_cdio, bool reverse_endian,