snd_pcm_add_chmap_ctls(9)

snd_pcm_add_chmap_ctls9

Create channel-mapping control elements

Usage

int snd_pcm_add_chmap_ctls(struct snd_pcm * pcm, int stream, const struct snd_pcm_chmap_elem * chmap, int max_channels, unsigned long private_value, struct snd_pcm_chmap ** info_ret);

Arguments

pcm

the assigned PCM instance

stream

stream direction

chmap

channel map elements (for query)

max_channels

the max number of channels for the stream

private_value

the value passed to each kcontrol's private_value field

info_ret

store struct snd_pcm_chmap instance if non-NULL

Overview

Create channel-mapping control elements assigned to the given PCM stream(s).

Return

Zero if successful, or a negative error value.

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

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