Home
last modified time | relevance | path

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

/Linux-v6.6/sound/core/oss/
Dpcm_oss.c688 ssize_t min_period_size, max_period_size; in snd_pcm_oss_period_size() local
746 max_period_size = snd_pcm_plug_client_size(substream, in snd_pcm_oss_period_size()
748 if (max_period_size > 0) { in snd_pcm_oss_period_size()
749 max_period_size *= oss_frame_size; in snd_pcm_oss_period_size()
750 max_period_size = rounddown_pow_of_two(max_period_size); in snd_pcm_oss_period_size()
751 if (oss_period_size > max_period_size) in snd_pcm_oss_period_size()
752 oss_period_size = max_period_size; in snd_pcm_oss_period_size()