diff options
author | Chris Robinson <chris.kcat@gmail.com> | 2013-10-28 22:03:54 -0700 |
---|---|---|
committer | Chris Robinson <chris.kcat@gmail.com> | 2013-10-28 22:03:54 -0700 |
commit | 3c65c946d4781cd6773c748b1e13f4c61db535e6 (patch) | |
tree | 7ed7bcf7ff780efac337eeba7fad8cab47f1e7d6 /Alc/backends/base.h | |
parent | 16d5d5760c09018a600394d3eeccfb9f3a880b9b (diff) |
Fix capture with the new backend interface
Diffstat (limited to 'Alc/backends/base.h')
-rw-r--r-- | Alc/backends/base.h | 6 |
1 files changed, 3 insertions, 3 deletions
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, \ |