---
name: "snd_pcm_hw_constraint_integer"
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_integer"
---

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

apply an integer constraint to an interval

## NAME

snd\_pcm\_hw\_constraint\_integer - apply an integer constraint to an interval

## SYNOPSIS

**int snd\_pcm\_hw\_constraint\_integer(struct snd\_pcm\_runtime \*** *runtime***, snd\_pcm\_hw\_param\_t** *var***);**

## ARGUMENTS

*runtime*

PCM runtime instance

*var*

hw\_params variable to apply the integer constraint

## DESCRIPTION

Apply the constraint of integer to an interval parameter.

## RETURN

Positive if the value is changed, zero if it's not changed, or a negative error code.

## COPYRIGHT
