SysTutorials

Linux Manual Pages › Section 9

snd_pcm_sgbuf_get_chunk_size(9)

snd_pcm_sgbuf_get_chunk_size - Compute the max size that fits within the contig. page from the given size

Synopsis

unsigned int snd_pcm_sgbuf_get_chunk_size(struct snd_pcm_substream *substream, unsigned int ofs, unsigned int size);

Arguments

substream

PCM substream

ofs

byte offset

size

byte size to examine

Copyright