snd_pcm_playback_empty(9) 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.

COPYRIGHT