Lines Matching defs:oss_buffer_size
703 size_t oss_buffer_size, oss_period_size, oss_periods;
711 oss_buffer_size = snd_pcm_plug_client_size(substream,
713 oss_buffer_size = 1 << ld2(oss_buffer_size);
715 if (oss_buffer_size > runtime->oss.mmap_bytes)
716 oss_buffer_size = runtime->oss.mmap_bytes;
723 if (oss_period_size > oss_buffer_size / 2)
724 oss_period_size = oss_buffer_size / 2;
729 oss_period_size = oss_buffer_size;
760 oss_periods = oss_buffer_size / oss_period_size;
777 while (oss_period_size * oss_periods > oss_buffer_size)
833 ssize_t oss_buffer_size, oss_period_size;
1025 oss_buffer_size = oss_period_size * runtime->oss.periods;
1026 if (oss_buffer_size < 0) {
1032 runtime->oss.buffer_bytes = oss_buffer_size;