---
name: "snd_pcm_period_elapsed"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_pcm_period_elapsed"
---

# snd\_pcm\_period\_elapsed(9)

update the pcm status for the next period

## NAME

snd\_pcm\_period\_elapsed - update the pcm status for the next period

## SYNOPSIS

**void snd\_pcm\_period\_elapsed(struct snd\_pcm\_substream \*** *substream***);**

## ARGUMENTS

*substream*

the pcm substream instance

## DESCRIPTION

This function is called from the interrupt handler when the PCM has processed the period size. It will update the current pointer, wake up sleepers, etc.

Even if more than one periods have elapsed since the last call, you have to call this only once.

## COPYRIGHT
