Closed beckend closed 2 years ago
For now there is some test code here: https://github.com/diwic/alsa-rs/blob/master/src/pcm.rs#L1031
Fixed now: https://github.com/diwic/alsa-rs/blob/master/examples/record.rs
Thank you, I however tried to open it in non blocking mode to write buffers, it gives me:
`Err` value: Error("snd_pcm_readi", Sys(EAGAIN))'
Why is that?
Never mind I got it working by polling the fds.
For now there is some test code here: https://github.com/diwic/alsa-rs/blob/master/src/pcm.rs#L1031