input/CdioParanoia: move global variables up

This commit is contained in:
Max Kellermann 2022-08-08 22:38:21 +02:00
parent 7c920ddebe
commit d3b235bab5
1 changed files with 5 additions and 5 deletions

View File

@ -45,6 +45,11 @@
#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 {
cdrom_drive_t *const drv;
CdIo_t *const cdio;
@ -98,11 +103,6 @@ class CdioParanoiaInputStream final : public InputStream {
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
input_cdio_init(EventLoop &, const ConfigBlock &block)
{