PCM Format Helpers
Prev | Chapter 2. PCM API | Next

## PCM Format Helpers

snd_pcm_format_signed — Check the PCM format is signed linear
snd_pcm_format_unsigned — Check the PCM format is unsigned linear
snd_pcm_format_linear — Check the PCM format is linear
snd_pcm_format_little_endian — Check the PCM format is little-endian
snd_pcm_format_big_endian — Check the PCM format is big-endian
snd_pcm_format_width — return the bit-width of the format
snd_pcm_format_physical_width — return the physical bit-width of the format
snd_pcm_format_size — return the byte size of samples on the given format
snd_pcm_format_silence_64 — return the silent data in 8 bytes array
snd_pcm_format_set_silence — set the silence data on the buffer
snd_pcm_limit_hw_rates — determine rate_min/rate_max fields
snd_pcm_rate_to_rate_bit — converts sample rate to SNDRV_PCM_RATE_xxx bit
snd_pcm_rate_bit_to_rate — converts SNDRV_PCM_RATE_xxx bit to sample rate

Prev | Up | Next
snd_pcm_suspend_all | Home | snd_pcm_format_signed