snd_pcm_playback_empty(9)
snd_pcm_playback_empty - check whether the playback buffer is empty
Synopsis
int snd_pcm_playback_empty(struct snd_pcm_substream *substream);Arguments
substream
- the pcm substream instance
Description
Checks whether the playback buffer is empty.
Return
Non-zero if empty, or zero if not.