broonie/tinyalsa — comment on commit 59c78af9f9fe6399d556fd45b20c3de7d2a687d0
File:  line 0
By tinyalsa:

It looks like we could factor out this code from pcm_write() too. Interestingly, there's a missing piece of code in pcm_start() that might affect the way this code works. I think Liam should take a look since he authored that code (I'll let him know).