aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/jack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/backends/jack.cpp')
-rw-r--r--alc/backends/jack.cpp2
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);
}