aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/base.h
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/base.h')
-rw-r--r--Alc/backends/base.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Alc/backends/base.h b/Alc/backends/base.h
index 9ba33097..ed0fff50 100644
--- a/Alc/backends/base.h
+++ b/Alc/backends/base.h
@@ -87,7 +87,8 @@ static const struct ALCbackendVtable T##_ALCbackend_vtable = { \
typedef enum ALCbackend_Type {
- ALCbackend_Playback
+ ALCbackend_Playback,
+ ALCbackend_Capture
} ALCbackend_Type;
@@ -131,6 +132,6 @@ static const struct ALCbackendFactoryVtable T##_ALCbackendFactory_vtable = { \
ALCbackendFactory *ALCnullBackendFactory_getFactory(void);
-ALCbackend *create_backend_wrapper(ALCdevice *device);
+ALCbackend *create_backend_wrapper(ALCdevice *device, ALCbackend_Type type);
#endif /* AL_BACKENDS_BASE_H */