---
name: "snd_pcm_set_ops"
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_set_ops"
---

# snd\_pcm\_set\_ops(9)

set the PCM operators

## NAME

snd\_pcm\_set\_ops - set the PCM operators

## SYNOPSIS

**void snd\_pcm\_set\_ops(struct snd\_pcm \*** *pcm***, int** *direction***, const struct snd\_pcm\_ops \*** *ops***);**

## ARGUMENTS

*pcm*

the pcm instance

*direction*

stream direction, SNDRV\_PCM\_STREAM\_XXX

*ops*

the operator table

## DESCRIPTION

Sets the given PCM operators to the pcm instance.

## COPYRIGHT
