snd_ac97_pcm_assign(9)

snd_ac97_pcm_assign9

Assign ac97 slots to given pcm streams

Usage

int snd_ac97_pcm_assign(struct snd_ac97_bus * bus, unsigned short pcms_count, const struct ac97_pcm * pcms);

Arguments

bus

the ac97 bus instance

pcms_count

count of PCMs to be assigned

pcms

PCMs to be assigned

Overview

It assigns available AC97 slots for given PCMs. If none or only some slots are available, pcm->xxx.slots and pcm->xxx.rslots[] members are reduced and might be zero.

Return

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

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

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