axelcx/tinyalsa — comment on commit 8f587a3b51c5ea082f55514b05b8d3fe86fac824
File:  line 0
By tinyalsa:

Good find! However, you should use pcm_frames_to_bytes() instead, which is in the API.