carta
snd_pcm_lib_preallocate_pages(9)

snd_pcm_lib_preallocate_pages9

Pre-allocation for the given dma type

Arguments

substream

the pcm substream instance

type

DMA type (SNDRV_DMA_TYPE_*)

data

DMA type dependent data

size

the requested pre-allocation size in bytes

max

the max. allowed pre-allocation size

Overview

Do pre-allocation for the given DMA buffer type.

Return

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

History

  • Debian 9 (Stretch): the text shown here
  • Debian 8 (Jessie)
  • Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze)
  • Debian 5.0 (Lenny)
  • Debian 4.0 (Etch)

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