input/CdioParanoia: move global variables up
This commit is contained in:
parent
7c920ddebe
commit
d3b235bab5
@ -45,6 +45,11 @@
|
|||||||
|
|
||||||
#include <cdio/cd_types.h>
|
#include <cdio/cd_types.h>
|
||||||
|
|
||||||
|
static constexpr Domain cdio_domain("cdio");
|
||||||
|
|
||||||
|
static bool default_reverse_endian;
|
||||||
|
static unsigned speed = 0;
|
||||||
|
|
||||||
class 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;
|
||||||
@ -98,11 +103,6 @@ class CdioParanoiaInputStream final : public InputStream {
|
|||||||
void Seek(std::unique_lock<Mutex> &lock, offset_type offset) override;
|
void Seek(std::unique_lock<Mutex> &lock, offset_type offset) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
static constexpr Domain cdio_domain("cdio");
|
|
||||||
|
|
||||||
static bool default_reverse_endian;
|
|
||||||
static unsigned speed = 0;
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
input_cdio_init(EventLoop &, const ConfigBlock &block)
|
input_cdio_init(EventLoop &, const ConfigBlock &block)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user