snd_pcm_stop
Prev | PCM Core | Next

## Name

snd_pcm_stop — try to stop all running streams in the substream group

## Synopsis

`int snd_pcm_stop (` | struct snd_pcm_substream * substream,
| snd_pcm_state_t state`)`;

## Arguments

`substream`

  the PCM substream instance

`state`

  PCM state after stopping the stream

## Description

The state of each stream is then changed to the given state unconditionally.

## Return

Zero if succesful, or a negative error code.

Prev | Up | Next
snd_pcm_add_chmap_ctls | Home | snd_pcm_suspend