'\" t .\" Title: snd_pcm_hw_constraint_ratnums .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: PCM API .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SND_PCM_HW_CONSTRAIN" "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_hw_constraint_ratnums \- apply ratnums constraint to a parameter .SH "SYNOPSIS" .HP \w'int\ snd_pcm_hw_constraint_ratnums('u .BI "int snd_pcm_hw_constraint_ratnums(struct\ snd_pcm_runtime\ *\ " "runtime" ", unsigned\ int\ " "cond" ", snd_pcm_hw_param_t\ " "var" ", const\ struct\ snd_pcm_hw_constraint_ratnums\ *\ " "r" ");" .SH "ARGUMENTS" .PP \fIruntime\fR .RS 4 PCM runtime instance .RE .PP \fIcond\fR .RS 4 condition bits .RE .PP \fIvar\fR .RS 4 hw_params variable to apply the ratnums constraint .RE .PP \fIr\fR .RS 4 struct snd_ratnums constriants .RE .SH "RETURN" .PP Zero if successful, or a negative error code on failure\&. .SH "COPYRIGHT" .br