1. NAME▲

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

2. SYNOPSIS ▲

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

3. ARGUMENTS ▲

substream
    the PCM substream instance

state
    PCM state after stopping the stream

4. DESCRIPTION ▲

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

5. RETURN ▲

Zero if succesful, or a negative error code.

6. COPYRIGHT ▲