---
name: "snd_ctl_find_id"
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_ctl_find_id"
---

# snd\_ctl\_find\_id(9)

find the control instance with the given id

## NAME

snd\_ctl\_find\_id - find the control instance with the given id

## SYNOPSIS

**struct snd\_kcontrol \* snd\_ctl\_find\_id(struct snd\_card \*** *card***, struct snd\_ctl\_elem\_id \*** *id***);**

## ARGUMENTS

*card*

the card instance

*id*

the id to search

## DESCRIPTION

Finds the control instance with the given id from the card.

The caller must down card-\>controls\_rwsem before calling this function (if the race condition can happen).

## RETURN

The pointer of the instance if found, or **NULL** if not.

## COPYRIGHT
