'\" t .\" Title: snd_pcm_hw_param_value .\" 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_VAL" "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_value \- return \fIparams\fR field \fIvar\fR value .SH "SYNOPSIS" .HP \w'int\ snd_pcm_hw_param_value('u .BI "int snd_pcm_hw_param_value(const\ struct\ snd_pcm_hw_params\ *\ " "params" ", snd_pcm_hw_param_t\ " "var" ", int\ *\ " "dir" ");" .SH "ARGUMENTS" .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 "RETURN" .PP The value for field \fIvar\fR if it\*(Aqs fixed in configuration space defined by \fIparams\fR\&. \-\fBEINVAL\fR otherwise\&. .SH "COPYRIGHT" .br