input/cdio: convert to class

This commit is contained in:
Max Kellermann 2014-05-12 18:59:25 +02:00
parent 0d6345e98b
commit e138e2c880

View File

@ -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,