diff --git a/src/input/plugins/AlsaInputPlugin.cxx b/src/input/plugins/AlsaInputPlugin.cxx index b0e8ab7d4..23b4188eb 100644 --- a/src/input/plugins/AlsaInputPlugin.cxx +++ b/src/input/plugins/AlsaInputPlugin.cxx @@ -69,8 +69,8 @@ static constexpr size_t read_buffer_size = 4096; class AlsaInputStream final : public AsyncInputStream, MultiSocketMonitor, DeferredMonitor { - snd_pcm_t *capture_handle; - size_t frame_size; + snd_pcm_t *const capture_handle; + const size_t frame_size; ReusableArray pfd_buffer;