aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-10-28 17:23:19 -0700
committerChris Robinson <[email protected]>2013-10-28 17:23:19 -0700
commita407d5763949fdb421b38ac4f624b8e9193f33e5 (patch)
tree81bea7997332686f5633d252b1cd4b2f2dbbeb6b /Alc/backends
parent0a6eff6a890a4ae3327db542594a1d66fc645a05 (diff)
Rename the support method to querySupport
Diffstat (limited to 'Alc/backends')
-rw-r--r--Alc/backends/base.h8
-rw-r--r--Alc/backends/null.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/Alc/backends/base.h b/Alc/backends/base.h
index ed0fff50..f5950ba1 100644
--- a/Alc/backends/base.h
+++ b/Alc/backends/base.h
@@ -102,7 +102,7 @@ struct ALCbackendFactoryVtable {
ALCboolean (*const init)(ALCbackendFactory *self);
void (*const deinit)(ALCbackendFactory *self);
- ALCboolean (*const support)(ALCbackendFactory *self, ALCbackend_Type type);
+ ALCboolean (*const querySupport)(ALCbackendFactory *self, ALCbackend_Type type);
void (*const probe)(ALCbackendFactory *self, enum DevProbe type);
@@ -114,8 +114,8 @@ static ALCboolean T##_ALCbackendFactory_init(ALCbackendFactory *obj) \
{ return T##_init(STATIC_UPCAST(T, ALCbackendFactory, obj)); } \
static void T##_ALCbackendFactory_deinit(ALCbackendFactory *obj) \
{ T##_deinit(STATIC_UPCAST(T, ALCbackendFactory, obj)); } \
-static ALCboolean T##_ALCbackendFactory_support(ALCbackendFactory *obj, ALCbackend_Type a) \
-{ return T##_support(STATIC_UPCAST(T, ALCbackendFactory, obj), a); } \
+static ALCboolean T##_ALCbackendFactory_querySupport(ALCbackendFactory *obj, ALCbackend_Type a) \
+{ 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) \
@@ -124,7 +124,7 @@ static ALCbackend* T##_ALCbackendFactory_createBackend(ALCbackendFactory *obj, A
static const struct ALCbackendFactoryVtable T##_ALCbackendFactory_vtable = { \
T##_ALCbackendFactory_init, \
T##_ALCbackendFactory_deinit, \
- T##_ALCbackendFactory_support, \
+ T##_ALCbackendFactory_querySupport, \
T##_ALCbackendFactory_probe, \
T##_ALCbackendFactory_createBackend, \
}
diff --git a/Alc/backends/null.c b/Alc/backends/null.c
index ab371747..9e762190 100644
--- a/Alc/backends/null.c
+++ b/Alc/backends/null.c
@@ -187,7 +187,7 @@ void ALCnullBackendFactory_deinit(ALCnullBackendFactory* UNUSED(self))
{
}
-ALCboolean ALCnullBackendFactory_support(ALCnullBackendFactory* UNUSED(self), ALCbackend_Type type)
+ALCboolean ALCnullBackendFactory_querySupport(ALCnullBackendFactory* UNUSED(self), ALCbackend_Type type)
{
if(type == ALCbackend_Playback)
return ALC_TRUE;