Home
last modified time | relevance | path

Searched refs:pcm_periods_min (Results 1 – 1 of 1) sorted by relevance

/linux/sound/virtio/
H A Dvirtio_pcm.c15 static u32 pcm_periods_min = 2; variable
16 module_param(pcm_periods_min, uint, 0644);
17 MODULE_PARM_DESC(pcm_periods_min, "Minimum number of PCM periods");
174 vss->hw.periods_min = pcm_periods_min; in virtsnd_pcm_build_hw()
266 if (pcm_periods_min < 2 || pcm_periods_min > pcm_periods_max) { in virtsnd_pcm_validate()
269 pcm_periods_min, pcm_periods_max); in virtsnd_pcm_validate()
280 if (pcm_buffer_ms < pcm_periods_min * pcm_period_ms_min) { in virtsnd_pcm_validate()
283 pcm_buffer_ms, pcm_periods_min * pcm_period_ms_min); in virtsnd_pcm_validate()