snd_ctl_remove(9)

snd_ctl_remove9

Remove the control from the card and release it

Usage

int snd_ctl_remove(struct snd_card * card, struct snd_kcontrol * kcontrol);

Arguments

card

the card instance

kcontrol

the control instance to remove

Overview

Removes the control from the card and then releases the instance. You don't need to call snd_ctl_free_one. You must be in the write lock - down_write(card->controls_rwsem).

Return

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

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.