diff options
author | Chris Robinson <[email protected]> | 2020-04-08 10:15:43 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-04-08 10:15:43 -0700 |
commit | d67cba99bd97d42e7e52c6dfd7a08c288b1539c0 (patch) | |
tree | 014425832a37173da8d9c3b2377526ce41d58d36 /alc/backends/jack.cpp | |
parent | 8a5153ce0dee072c283b04ff5a61faa764f81743 (diff) |
Clean up some more unnecessary uses of AL types
Diffstat (limited to 'alc/backends/jack.cpp')
-rw-r--r-- | alc/backends/jack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |