'\" t .\" Title: snd_pcm_hw_rule_add .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Sound Devices .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "SND_PCM_HW_RULE_ADD" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Sound Devices" .\" ----------------------------------------------------------------- .\" * 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_hw_rule_add \- add the hw\-constraint rule .SH "SYNOPSIS" .HP \w'int\ snd_pcm_hw_rule_add('u .BI "int snd_pcm_hw_rule_add(struct\ snd_pcm_runtime\ *\ " "runtime" ", unsigned\ int\ " "cond" ", int\ " "var" ", snd_pcm_hw_rule_func_t\ " "func" ", void\ *\ " "private" ", int\ " "dep" ", " "\&.\&.\&." ");" .SH "ARGUMENTS" .PP \fIruntime\fR .RS 4 the pcm runtime instance .RE .PP \fIcond\fR .RS 4 condition bits .RE .PP \fIvar\fR .RS 4 the variable to evaluate .RE .PP \fIfunc\fR .RS 4 the evaluation function .RE .PP \fIprivate\fR .RS 4 the private data pointer passed to function .RE .PP \fIdep\fR .RS 4 the dependent variables .RE .PP \fI\&.\&.\&.\fR .RS 4 variable arguments .RE .SH "RETURN" .PP Zero if successful, or a negative error code on failure\&. .SH "COPYRIGHT" .br