---
name: "snd_ctl_enum_info"
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_enum_info"
---

# snd\_ctl\_enum\_info(9)

fills the info structure for an enumerated control

## NAME

snd\_ctl\_enum\_info - fills the info structure for an enumerated control

## SYNOPSIS

**int snd\_ctl\_enum\_info(struct snd\_ctl\_elem\_info \*** *info***, unsigned int** *channels***, unsigned int** *items***, const char \*const** *names\[\]***);**

## ARGUMENTS

*info*

the structure to be filled

*channels*

the number of the control's channels; often one

*items*

the number of control values; also the size of *names*

*names\[\]*

an array containing the names of all control values

## DESCRIPTION

Sets all required fields in *info* to their appropriate values. If the control's accessibility is not the default (readable and writable), the caller has to fill *info*-\>access.

## RETURN

Zero.

## COPYRIGHT
