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
|
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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user