NAME
snd_pcm_running - Check whether the substream is in a running state
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.