snd_pcm_capture_ready

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

snd_pcm_capture_ready - check whether the capture buffer is available

SYNOPSIS

int snd_pcm_capture_ready(struct snd_pcm_substream * substream);

ARGUMENTS

substream

the pcm substream instance

DESCRIPTION

Checks whether enough capture data is available on the capture buffer.

Returns non-zero if available, or zero if not.