---
name: "snd_pcm_playback_data"
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_data"
---

# snd\_pcm\_playback\_data(9)

check whether any data exists on the playback buffer

## NAME

snd\_pcm\_playback\_data - check whether any data exists on the playback buffer

## SYNOPSIS

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

## ARGUMENTS

*substream*

the pcm substream instance

## DESCRIPTION

Checks whether any data exists on the playback buffer.

## RETURN

Non-zero if any data exists, or zero if not. If stop\_threshold is bigger or equal to boundary, then this function returns always non-zero.

## COPYRIGHT
