SYNOPSIS int snd_pcm_running(struct snd_pcm_substream * substream); ARGUMENTS substream substream to check DESCRIPTION Returns true if the given substream is in the state RUNNING, or in the state DRAINING for playback. COPYRIGHT