Reference

snd_pcm_playback_data(9) on Linux

The text e48b59880951, as Debian 6.0 (Squeeze) shipped it.

check whether any data exists on the playback buffer

snd_pcm_playback_data(9) on Linux now