Scroll to navigation

SND_PCM_PLAYBACK_DAT(9) PCM API SND_PCM_PLAYBACK_DAT(9)

NAME

snd_pcm_playback_data - check whether any data exists on the playback buffer

SYNOPSIS

int snd_pcm_playback_data(struct snd_pcm_substream * substream);

ARGUMENTS

substream

the pcm substream instance

DESCRIPTION

Checks whether any data exists on the playback buffer.

RETURN

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.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.