bytes_to_frames(9)

bytes_to_frames9

Unit conversion of the size from bytes to frames

Usage

snd_pcm_sframes_t bytes_to_frames(struct snd_pcm_runtime * runtime, ssize_t size);

Arguments

runtime

PCM runtime instance

size

size in bytes

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