Name

bytes_to_frames — Unit conversion of the size from bytes to frames

Synopsis

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

Arguments

runtime

PCM runtime instance

size

size in bytes