Chapter 2. PCM API
Prev |  | Next

# Chapter 2. PCM API

Table of Contents

PCM Core
PCM Format Helpers
PCM Memory Management

## PCM Core

snd_pcm_new_stream — create a new PCM stream
snd_pcm_new — create a new PCM instance
snd_pcm_new_internal — create a new internal PCM instance
snd_pcm_set_ops — set the PCM operators
snd_pcm_set_sync — set the PCM sync id
snd_interval_refine — refine the interval value of configurator
snd_interval_ratnum — refine the interval value
snd_interval_list — refine the interval value from the list
snd_pcm_hw_rule_add — add the hw-constraint rule
snd_pcm_hw_constraint_integer — apply an integer constraint to an interval
snd_pcm_hw_constraint_minmax — apply a min/max range constraint to an interval
snd_pcm_hw_constraint_list — apply a list of constraints to a parameter
snd_pcm_hw_constraint_ratnums — apply ratnums constraint to a parameter
snd_pcm_hw_constraint_ratdens — apply ratdens constraint to a parameter
snd_pcm_hw_constraint_msbits — add a hw constraint msbits rule
snd_pcm_hw_constraint_step — add a hw constraint step rule
snd_pcm_hw_constraint_pow2 — add a hw constraint power-of-2 rule
snd_pcm_hw_rule_noresample — add a rule to allow disabling hw resampling
snd_pcm_hw_param_value — return `params` field `var` value
snd_pcm_hw_param_first — refine config space and return minimum value
snd_pcm_hw_param_last — refine config space and return maximum value
snd_pcm_lib_ioctl — a generic PCM ioctl callback
snd_pcm_period_elapsed — update the pcm status for the next period
snd_pcm_add_chmap_ctls — create channel-mapping control elements
snd_pcm_stop — try to stop all running streams in the substream group
snd_pcm_suspend — trigger SUSPEND to all linked streams
snd_pcm_suspend_all — trigger SUSPEND to all substreams in the given pcm

Prev |  | Next
snd_dma_reserve_buf | Home | snd_pcm_new_stream