snd_pcm_stop_xrun
Prev | Chapter 5. Sound Devices | Next

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

Prev | Up | Next
snd_pcm_stop | Home | snd_pcm_suspend