Reference

snd_pcm_playback_empty(9) on Linux

The text 626227bda433, as Debian 5.0 (Lenny) shipped it.

check whether the playback buffer is empty

snd_pcm_playback_empty(9) on Linux now