From d67cba99bd97d42e7e52c6dfd7a08c288b1539c0 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 8 Apr 2020 10:15:43 -0700 Subject: Clean up some more unnecessary uses of AL types --- alc/backends/jack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alc/backends/jack.cpp') diff --git a/alc/backends/jack.cpp b/alc/backends/jack.cpp index 8d52d6ee..33a535de 100644 --- a/alc/backends/jack.cpp +++ b/alc/backends/jack.cpp @@ -254,7 +254,7 @@ int JackPlayback::process(jack_nframes_t numframes) noexcept if(numframes > total) { jack_nframes_t todo{numframes - total}; - auto clear_buf = [todo](ALfloat *outbuf) -> void { std::fill_n(outbuf, todo, 0.0f); }; + auto clear_buf = [todo](float *outbuf) -> void { std::fill_n(outbuf, todo, 0.0f); }; std::for_each(out, out+numchans, clear_buf); } -- cgit v1.2.3