'\" t .\" Title: snd_pcm_hw_constraint_msbits .\" 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_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_msbits \- add a hw constraint msbits rule .SH "SYNOPSIS" .HP \w'int\ snd_pcm_hw_constraint_msbits('u .BI "int snd_pcm_hw_constraint_msbits(struct\ snd_pcm_runtime\ *\ " "runtime" ", unsigned\ int\ " "cond" ", unsigned\ int\ " "width" ", unsigned\ int\ " "msbits" ");" .SH "ARGUMENTS" .PP \fIruntime\fR .RS 4 PCM runtime instance .RE .PP \fIcond\fR .RS 4 condition bits .RE .PP \fIwidth\fR .RS 4 sample bits width .RE .PP \fImsbits\fR .RS 4 msbits width .RE .SH "DESCRIPTION" .PP This constraint will set the number of most significant bits (msbits) if a sample format with the specified width has been select\&. If width is set to 0 the msbits will be set for any sample format with a width larger than the specified msbits\&. .SH "RETURN" .PP Zero if successful, or a negative error code on failure\&. .SH "COPYRIGHT" .br