---
name: "snd_soc_codec_get_dapm"
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_soc_codec_get_dapm"
---

# snd\_soc\_codec\_get\_dapm(9)

Returns the DAPM context for the CODEC

## NAME

snd\_soc\_codec\_get\_dapm - Returns the DAPM context for the CODEC

## SYNOPSIS

**struct snd\_soc\_dapm\_context \* snd\_soc\_codec\_get\_dapm(struct snd\_soc\_codec \*** *codec***);**

## ARGUMENTS

*codec*

The CODEC for which to get the DAPM context

## NOTE

Use this function instead of directly accessing the CODEC's dapm field

## COPYRIGHT
