Reference

snd_pcm_playback_data(9) on Linux

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

check whether any data exists on the playback buffer

snd_pcm_playback_data(9) on Linux now