summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-01-13 20:26:36 +0100
committerMax Kellermann <max@musicpd.org>2017-01-13 20:26:36 +0100
commitc5cf66402cbeedb70d441a36bbd2c71d54709ba3 (patch)
tree270fbfdbcfb0cad3d1990674ed87b8bb00c060e0 /src/input
parent05417049eb884c549fa28f8b74fabf097a220af5 (diff)
input/alsa: make two attributes "const"
Diffstat (limited to 'src/input')
-rw-r--r--src/input/plugins/AlsaInputPlugin.cxx4
1 files 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<pollfd> pfd_buffer;