input/alsa: make two attributes "const"

This commit is contained in:
Max Kellermann 2017-01-13 20:26:36 +01:00
parent 05417049eb
commit c5cf66402c

View File

@ -69,8 +69,8 @@ static constexpr size_t read_buffer_size = 4096;
class AlsaInputStream final class AlsaInputStream final
: public AsyncInputStream, : public AsyncInputStream,
MultiSocketMonitor, DeferredMonitor { MultiSocketMonitor, DeferredMonitor {
snd_pcm_t *capture_handle; snd_pcm_t *const capture_handle;
size_t frame_size; const size_t frame_size;
ReusableArray<pollfd> pfd_buffer; ReusableArray<pollfd> pfd_buffer;