summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-05-12 18:59:25 +0200
committerMax Kellermann <max@duempel.org>2014-05-12 18:59:25 +0200
commite138e2c880d2e5ae4728bd821e3a2789cb605a11 (patch)
treefa4d4309330d7fb9f0315c5d1594378b4a681dee /src/input
parent0d6345e98b469f86f6748ce9e7804982dc7693f9 (diff)
input/cdio: convert to class
Diffstat (limited to 'src/input')
-rw-r--r--src/input/plugins/CdioParanoiaInputPlugin.cxx3
1 files changed, 2 insertions, 1 deletions
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 <cdio/cd_types.h>
-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,