SysTutorials

Linux Manual Pages › Section 9

snd_pcm_running(9)

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.

Copyright