'\" t .\" Title: snd_pcm_add_chmap_ctls .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: PCM API .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SND_PCM_ADD_CHMAP_CT" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "PCM API" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" snd_pcm_add_chmap_ctls \- create channel\-mapping control elements .SH "SYNOPSIS" .HP \w'int\ snd_pcm_add_chmap_ctls('u .BI "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" ");" .SH "ARGUMENTS" .PP \fIpcm\fR .RS 4 the assigned PCM instance .RE .PP \fIstream\fR .RS 4 stream direction .RE .PP \fIchmap\fR .RS 4 channel map elements (for query) .RE .PP \fImax_channels\fR .RS 4 the max number of channels for the stream .RE .PP \fIprivate_value\fR .RS 4 the value passed to each kcontrol\*(Aqs private_value field .RE .PP \fIinfo_ret\fR .RS 4 store struct snd_pcm_chmap instance if non\-NULL .RE .SH "DESCRIPTION" .PP Create channel\-mapping control elements assigned to the given PCM stream(s)\&. .SH "RETURN" .PP Zero if successful, or a negative error value\&. .SH "COPYRIGHT" .br