Home
last modified time | relevance | path

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

/linux-6.1.9/sound/core/oss/
Dpcm_oss.c686 ssize_t oss_buffer_size; in snd_pcm_oss_period_size() local
695 oss_buffer_size = snd_pcm_hw_param_value_max(slave_params, in snd_pcm_oss_period_size()
698 if (oss_buffer_size <= 0) in snd_pcm_oss_period_size()
700 oss_buffer_size = snd_pcm_plug_client_size(substream, in snd_pcm_oss_period_size()
701 oss_buffer_size * oss_frame_size); in snd_pcm_oss_period_size()
702 if (oss_buffer_size <= 0) in snd_pcm_oss_period_size()
704 oss_buffer_size = rounddown_pow_of_two(oss_buffer_size); in snd_pcm_oss_period_size()
706 if (oss_buffer_size > runtime->oss.mmap_bytes) in snd_pcm_oss_period_size()
707 oss_buffer_size = runtime->oss.mmap_bytes; in snd_pcm_oss_period_size()
714 if (oss_period_size > oss_buffer_size / 2) in snd_pcm_oss_period_size()
[all …]