最終更新:2020-12-21 (月) 21:45:22 (1220d)  

snd_pcm_set_params
Top / snd_pcm_set_params

Set the hardware and software parameters in a simple way.

https://www.alsa-project.org/alsa-doc/alsa-lib/group___p_c_m.html#ga45d50841b307f2156fce1857bfac228c

パラメータ

snd_pcm_t*pcmPCM handle
snd_pcm_format_tformatrequired PCM format
snd_pcm_access_taccessrequired PCM access
unsigned intchannelsrequired PCM channels
unsigned intraterequired sample rate in Hz
intsoft_resample0 = disallow alsa-lib resample stream, 1 = allow resampling
unsigned intlatencyrequired overall latency in us

関連