On 07/16/2013 04:48 PM, Takashi Iwai wrote: [...] > +int snd_pcm_lock_and_stop(struct snd_pcm_substream *substream, snd_pcm_state_t state) The name makes it sound as if the lock will still be held after the function call has completed. How about snd_pcm_stop_locked()? - Lars