---
name: "snd_pcm_hw_constraint_ratnums"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_pcm_hw_constraint_ratnums"
---

# snd\_pcm\_hw\_constraint\_ratnums(9)

apply ratnums constraint to a parameter

## NAME

snd\_pcm\_hw\_constraint\_ratnums - apply ratnums constraint to a parameter

## SYNOPSIS

**int snd\_pcm\_hw\_constraint\_ratnums(struct snd\_pcm\_runtime \*** *runtime***, unsigned int** *cond***, snd\_pcm\_hw\_param\_t** *var***, const struct snd\_pcm\_hw\_constraint\_ratnums \*** *r***);**

## ARGUMENTS

*runtime*

PCM runtime instance

*cond*

condition bits

*var*

hw\_params variable to apply the ratnums constraint

*r*

struct snd\_ratnums constriants

## RETURN

Zero if successful, or a negative error code on failure.

## COPYRIGHT
