---
name: "snd_pcm_stop_xrun"
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_stop_xrun"
---

# snd\_pcm\_stop\_xrun(9)

stop the running streams as XRUN

## NAME

snd\_pcm\_stop\_xrun - stop the running streams as XRUN

## SYNOPSIS

**int snd\_pcm\_stop\_xrun(struct snd\_pcm\_substream \*** *substream***);**

## ARGUMENTS

*substream*

the PCM substream instance

## DESCRIPTION

This stops the given running substream (and all linked substreams) as XRUN. Unlike **snd\_pcm\_stop**, this function takes the substream lock by itself.

## RETURN

Zero if successful, or a negative error code.

## COPYRIGHT
