From 3c65c946d4781cd6773c748b1e13f4c61db535e6 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 28 Oct 2013 22:03:54 -0700 Subject: Fix capture with the new backend interface --- Alc/backends/base.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Alc/backends/base.h') diff --git a/Alc/backends/base.h b/Alc/backends/base.h index f1da721d..d05ec0f5 100644 --- a/Alc/backends/base.h +++ b/Alc/backends/base.h @@ -106,7 +106,7 @@ struct ALCbackendFactoryVtable { void (*const probe)(ALCbackendFactory *self, enum DevProbe type); - ALCbackend* (*const createBackend)(ALCbackendFactory *self, ALCdevice *device); + ALCbackend* (*const createBackend)(ALCbackendFactory *self, ALCdevice *device, ALCbackend_Type type); }; #define DEFINE_ALCBACKENDFACTORY_VTABLE(T) \ @@ -118,8 +118,8 @@ static ALCboolean T##_ALCbackendFactory_querySupport(ALCbackendFactory *obj, ALC { return T##_querySupport(STATIC_UPCAST(T, ALCbackendFactory, obj), a); } \ static void T##_ALCbackendFactory_probe(ALCbackendFactory *obj, enum DevProbe a) \ { T##_probe(STATIC_UPCAST(T, ALCbackendFactory, obj), a); } \ -static ALCbackend* T##_ALCbackendFactory_createBackend(ALCbackendFactory *obj, ALCdevice *a) \ -{ return T##_createBackend(STATIC_UPCAST(T, ALCbackendFactory, obj), a); } \ +static ALCbackend* T##_ALCbackendFactory_createBackend(ALCbackendFactory *obj, ALCdevice *a, ALCbackend_Type b) \ +{ return T##_createBackend(STATIC_UPCAST(T, ALCbackendFactory, obj), a, b); } \ \ static const struct ALCbackendFactoryVtable T##_ALCbackendFactory_vtable = { \ T##_ALCbackendFactory_init, \ -- cgit v1.2.3