Check whether any data exists on the playback buffer
int snd_pcm_playback_data(struct snd_pcm_substream * substream);
substream
the pcm substream instance
Checks whether any data exists on the playback buffer.
Non-zero if any data exists, or zero if not. If stop_threshold is bigger or equal to boundary, then this function returns always non-zero.