I learned how to use alsa's mmap mode a while ago, but it seems that I'm still not using it correctly. The latency is supposed to be the period size divided by the sampling rate, but in my soyware it's the buffer size divided by the sampling rate:anhero:.
