---
name: "snd_pcm_running"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_pcm_running"
---

# snd\_pcm\_running(9)

Check whether the substream is in a running state

## 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.

## COPYRIGHT
