Check whether the playback buffer is available
int snd_pcm_playback_ready(struct snd_pcm_substream * substream);
substream
the pcm substream instance
Checks whether enough free space is available on the playback buffer.
Non-zero if available, or zero if not.