aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/jack.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/jack.c')
-rw-r--r--Alc/backends/jack.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/Alc/backends/jack.c b/Alc/backends/jack.c
index 57f129fc..fbf2e54b 100644
--- a/Alc/backends/jack.c
+++ b/Alc/backends/jack.c
@@ -592,13 +592,8 @@ static ALCbackend* ALCjackBackendFactory_createBackend(ALCjackBackendFactory* UN
if(type == ALCbackend_Playback)
{
ALCjackPlayback *backend;
-
- backend = ALCjackPlayback_New(sizeof(*backend));
+ NEW_OBJ(backend, ALCjackPlayback)(device);
if(!backend) return NULL;
- memset(backend, 0, sizeof(*backend));
-
- ALCjackPlayback_Construct(backend, device);
-
return STATIC_CAST(ALCbackend, backend);
}