'\" t .\" Title: snd_pcm_hw_param_last .\" 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_PARAM_LAS" "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_param_last \- refine config space and return maximum value .SH "SYNOPSIS" .HP \w'int\ snd_pcm_hw_param_last('u .BI "int snd_pcm_hw_param_last(struct\ snd_pcm_substream\ *\ " "pcm" ", struct\ snd_pcm_hw_params\ *\ " "params" ", snd_pcm_hw_param_t\ " "var" ", int\ *\ " "dir" ");" .SH "ARGUMENTS" .PP \fIpcm\fR .RS 4 PCM instance .RE .PP \fIparams\fR .RS 4 the hw_params instance .RE .PP \fIvar\fR .RS 4 parameter to retrieve .RE .PP \fIdir\fR .RS 4 pointer to the direction (\-1,0,1) or \fBNULL\fR .RE .SH "DESCRIPTION" .PP Inside configuration space defined by \fIparams\fR remove from \fIvar\fR all values < maximum\&. Reduce configuration space accordingly\&. .SH "RETURN" .PP The maximum, or a negative error code on failure\&. .SH "COPYRIGHT" .br