'\" t .\" Title: snd_pcm_stop .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: PCM API .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "SND_PCM_STOP" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "PCM API" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" snd_pcm_stop \- try to stop all running streams in the substream group .SH "SYNOPSIS" .HP \w'int\ snd_pcm_stop('u .BI "int snd_pcm_stop(struct\ snd_pcm_substream\ *\ " "substream" ", snd_pcm_state_t\ " "state" ");" .SH "ARGUMENTS" .PP \fIsubstream\fR .RS 4 the PCM substream instance .RE .PP \fIstate\fR .RS 4 PCM state after stopping the stream .RE .SH "DESCRIPTION" .PP The state of each stream is then changed to the given state unconditionally\&. .SH "RETURN" .PP Zero if successful, or a negative error code\&. .SH "COPYRIGHT" .br