.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "SND_PCM_HW_PARAM_NEAR" "" "06 October 2005" "" "" .SH NAME snd_pcm_hw_param_near \- .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int snd_pcm_hw_param_near (snd_pcm_t * \fIpcm\fB, snd_pcm_hw_params_t * \fIparams\fB, snd_pcm_hw_param_t \fIvar\fB, unsigned int \fIbest\fB, int * \fIdir\fB); \fR .SH "ARGUMENTS" .TP \fB\fIpcm\fB\fR -- undescribed -- .TP \fB\fIparams\fB\fR -- undescribed -- .TP \fB\fIvar\fB\fR -- undescribed -- .TP \fB\fIbest\fB\fR -- undescribed -- .TP \fB\fIdir\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP .PP Inside configuration space defined by PARAMS set PAR to the available value nearest to VAL. Reduce configuration space accordingly. This function cannot be called for SNDRV_PCM_HW_PARAM_ACCESS, SNDRV_PCM_HW_PARAM_FORMAT, SNDRV_PCM_HW_PARAM_SUBFORMAT. Return the value found.