---
name: "snd_jack_add_new_kctl"
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_jack_add_new_kctl"
---

# snd\_jack\_add\_new\_kctl(9)

Create a new snd\_jack\_kctl and add it to jack

## NAME

snd\_jack\_add\_new\_kctl - Create a new snd\_jack\_kctl and add it to jack

## SYNOPSIS

**int snd\_jack\_add\_new\_kctl(struct snd\_jack \*** *jack***, const char \*** *name***, int** *mask***);**

## ARGUMENTS

*jack*

the jack instance which the kctl will attaching to

*name*

the name for the snd\_kcontrol object

*mask*

a bitmask of enum snd\_jack\_type values that can be detected by this snd\_jack\_kctl object.

## DESCRIPTION

Creates a new snd\_kcontrol object and adds it to the jack kctl\_list.

## RETURN

Zero if successful, or a negative error code on failure.

## COPYRIGHT
