Home
last modified time | relevance | path

Searched refs:pcm_buffer_ms (Results 1 - 1 of 1) sorted by relevance

/kernel/linux/linux-6.6/sound/virtio/
H A Dvirtio_pcm.c11 static u32 pcm_buffer_ms = 160; variable
12 module_param(pcm_buffer_ms, uint, 0644);
13 MODULE_PARM_DESC(pcm_buffer_ms, "PCM substream buffer time in milliseconds");
177 * pcm_buffer_ms ms for the combination (Cmax, Smax, Rmax), where: in virtsnd_pcm_build_hw()
183 PAGE_ALIGN(sample_max * vss->hw.channels_max * pcm_buffer_ms * in virtsnd_pcm_build_hw()
278 if (pcm_buffer_ms < pcm_periods_min * pcm_period_ms_min) { in virtsnd_pcm_validate()
280 "pcm_buffer_ms(=%u) value cannot be < %u ms\n", in virtsnd_pcm_validate()
281 pcm_buffer_ms, pcm_periods_min * pcm_period_ms_min); in virtsnd_pcm_validate()
285 if (pcm_period_ms_max > pcm_buffer_ms / 2) { in virtsnd_pcm_validate()
288 pcm_period_ms_max, pcm_buffer_ms / in virtsnd_pcm_validate()
[all...]

Completed in 1 milliseconds