---
name: "snd_pcm_playback_empty"
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_playback_empty"
---

# snd\_pcm\_playback\_empty(9)

check whether the playback buffer is empty

## NAME

snd\_pcm\_playback\_empty - check whether the playback buffer is empty

## SYNOPSIS

**int snd\_pcm\_playback\_empty(struct snd\_pcm\_substream \*** *substream***);**

## ARGUMENTS

*substream*

the pcm substream instance

## DESCRIPTION

Checks whether the playback buffer is empty.

## RETURN

Non-zero if empty, or zero if not.

## COPYRIGHT
