aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/null.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/null.c')
-rw-r--r--Alc/backends/null.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Alc/backends/null.c b/Alc/backends/null.c
index c5a4c15f..3f09c5d6 100644
--- a/Alc/backends/null.c
+++ b/Alc/backends/null.c
@@ -39,7 +39,6 @@ typedef struct ALCnullBackend {
volatile int killNow;
althrd_t thread;
} ALCnullBackend;
-DECLARE_ALCBACKEND_VTABLE(ALCnullBackend);
static int ALCnullBackend_mixerProc(void *ptr);
@@ -57,6 +56,8 @@ static DECLARE_FORWARD(ALCnullBackend, ALCbackend, void, lock)
static DECLARE_FORWARD(ALCnullBackend, ALCbackend, void, unlock)
DECLARE_DEFAULT_ALLOCATORS(ALCnullBackend)
+DEFINE_ALCBACKEND_VTABLE(ALCnullBackend);
+
static const ALCchar nullDevice[] = "No Output";
@@ -161,8 +162,6 @@ static void ALCnullBackend_stop(ALCnullBackend *self)
althrd_join(self->thread, &res);
}
-DEFINE_ALCBACKEND_VTABLE(ALCnullBackend);
-
typedef struct ALCnullBackendFactory {
DERIVE_FROM_TYPE(ALCbackendFactory);