diff options
author | Chris Robinson <[email protected]> | 2013-10-28 14:38:55 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-10-28 14:38:55 -0700 |
commit | 21f1e54cb9498ae282bab04db7680987b86da619 (patch) | |
tree | 60ae08b71152426bcc29010a3b26b98b711564a2 /Alc/backends/base.h | |
parent | f8c95f1e90a9bf4e57dbd4e29604e36916f354e4 (diff) |
Create and use a backend wrapper for capture
Diffstat (limited to 'Alc/backends/base.h')
-rw-r--r-- | Alc/backends/base.h | 5 |
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 */ |