.\" 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_MASK" "" "06 October 2005" "" ""
.SH NAME
snd_pcm_hw_param_mask \-
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int snd_pcm_hw_param_mask (snd_pcm_t * \fIpcm\fB, snd_pcm_hw_params_t * \fIparams\fB, snd_pcm_hw_param_t \fIvar\fB, const snd_mask_t * \fIval\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIpcm\fB\fR
-- undescribed --
.TP
\fB\fIparams\fB\fR
-- undescribed --
.TP
\fB\fIvar\fB\fR
-- undescribed --
.TP
\fB\fIval\fB\fR
-- undescribed --
.SH "DESCRIPTION"
.PP
.PP
Inside configuration space defined by PARAMS remove from PAR all values
not contained in MASK. Reduce configuration space accordingly.
This function can be called only for SNDRV_PCM_HW_PARAM_ACCESS,
SNDRV_PCM_HW_PARAM_FORMAT, SNDRV_PCM_HW_PARAM_SUBFORMAT.
Return 0 on success or -EINVAL
if the configuration space is empty