Home
last modified time | relevance | path

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

/Linux-v6.6/sound/core/oss/
Dpcm_oss.c687 ssize_t oss_period_size, oss_periods; in snd_pcm_oss_period_size() local
711 oss_period_size = substream->oss.setup.period_size; in snd_pcm_oss_period_size()
713 oss_period_size = 1 << runtime->oss.fragshift; in snd_pcm_oss_period_size()
714 if (oss_period_size > oss_buffer_size / 2) in snd_pcm_oss_period_size()
715 oss_period_size = oss_buffer_size / 2; in snd_pcm_oss_period_size()
720 oss_period_size = oss_buffer_size; in snd_pcm_oss_period_size()
722 oss_period_size /= 2; in snd_pcm_oss_period_size()
723 } while (oss_period_size > bytes_per_sec); in snd_pcm_oss_period_size()
726 if (oss_period_size / sd > 4096) in snd_pcm_oss_period_size()
728 if (oss_period_size / sd < 4096) in snd_pcm_oss_period_size()
[all …]