input/cdio: convert to class
This commit is contained in:
parent
0d6345e98b
commit
e138e2c880
@ -50,7 +50,7 @@
|
|||||||
|
|
||||||
#include <cdio/cd_types.h>
|
#include <cdio/cd_types.h>
|
||||||
|
|
||||||
struct CdioParanoiaInputStream final : public InputStream {
|
class CdioParanoiaInputStream final : public InputStream {
|
||||||
cdrom_drive_t *const drv;
|
cdrom_drive_t *const drv;
|
||||||
CdIo_t *const cdio;
|
CdIo_t *const cdio;
|
||||||
cdrom_paranoia_t *const para;
|
cdrom_paranoia_t *const para;
|
||||||
@ -61,6 +61,7 @@ struct CdioParanoiaInputStream final : public InputStream {
|
|||||||
char buffer[CDIO_CD_FRAMESIZE_RAW];
|
char buffer[CDIO_CD_FRAMESIZE_RAW];
|
||||||
int buffer_lsn;
|
int buffer_lsn;
|
||||||
|
|
||||||
|
public:
|
||||||
CdioParanoiaInputStream(const char *_uri, Mutex &_mutex, Cond &_cond,
|
CdioParanoiaInputStream(const char *_uri, Mutex &_mutex, Cond &_cond,
|
||||||
cdrom_drive_t *_drv, CdIo_t *_cdio,
|
cdrom_drive_t *_drv, CdIo_t *_cdio,
|
||||||
bool reverse_endian,
|
bool reverse_endian,
|
||||||
|
Loading…
Reference in New Issue
Block a user