Reference

snd_pcm_playback_ready(9) on Linux

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

check whether the playback buffer is available

snd_pcm_playback_ready(9) on Linux now