'\" t .\" Title: snd_pcm_rate_mask_intersect .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: PCM API .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "SND_PCM_RATE_MASK_IN" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "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_rate_mask_intersect \- computes the intersection between two rate masks .SH "SYNOPSIS" .HP \w'unsigned\ int\ snd_pcm_rate_mask_intersect('u .BI "unsigned int snd_pcm_rate_mask_intersect(unsigned\ int\ " "rates_a" ", unsigned\ int\ " "rates_b" ");" .SH "ARGUMENTS" .PP \fIrates_a\fR .RS 4 The first rate mask .RE .PP \fIrates_b\fR .RS 4 The second rate mask .RE .SH "DESCRIPTION" .PP This function computes the rates that are supported by both rate masks passed to the function\&. It will take care of the special handling of SNDRV_PCM_RATE_CONTINUOUS and SNDRV_PCM_RATE_KNOT\&. .SH "RETURN" .PP A rate mask containing the rates that are supported by both rates_a and rates_b\&. .SH "COPYRIGHT" .br