aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/loopback.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/loopback.c')
-rw-r--r--Alc/backends/loopback.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/Alc/backends/loopback.c b/Alc/backends/loopback.c
index f511b8b1..3e577f78 100644
--- a/Alc/backends/loopback.c
+++ b/Alc/backends/loopback.c
@@ -124,13 +124,8 @@ static ALCbackend* ALCloopbackFactory_createBackend(ALCloopbackFactory* UNUSED(s
if(type == ALCbackend_Loopback)
{
ALCloopback *backend;
-
- backend = ALCloopback_New(sizeof(*backend));
+ NEW_OBJ(backend, ALCloopback)(device);
if(!backend) return NULL;
- memset(backend, 0, sizeof(*backend));
-
- ALCloopback_Construct(backend, device);
-
return STATIC_CAST(ALCbackend, backend);
}