Reference

snd_pcm_playback_empty(9) on Linux

The text b77140f140ca, as Debian 7 (Wheezy) shipped it.

check whether the playback buffer is empty

snd_pcm_playback_empty(9) on Linux now