input/alsa: make two attributes "const"
This commit is contained in:
parent
05417049eb
commit
c5cf66402c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user