snd_pcm_rate_mask_intersect(9)

snd_pcm_rate_mask_intersect9

Computes the intersection between two rate masks

Usage

unsigned int snd_pcm_rate_mask_intersect(unsigned int rates_a, unsigned int rates_b);

Arguments

rates_a

The first rate mask

rates_b

The second rate mask

Overview

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.

Return

A rate mask containing the rates that are supported by both rates_a and rates_b.

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.