From c5cf66402cbeedb70d441a36bbd2c71d54709ba3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 13 Jan 2017 20:26:36 +0100 Subject: [PATCH] input/alsa: make two attributes "const" --- src/input/plugins/AlsaInputPlugin.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;