Searched refs:sample_threshold (Results 1 – 1 of 1) sorted by relevance
92 fn get_next_period_internal(&mut self, sample_threshold: usize) -> bool { in get_next_period_internal()95 if self.ring_buf.len() >= sample_threshold { in get_next_period_internal()96 for current_sample in self.ring_buf.drain(..sample_threshold) { in get_next_period_internal()105 pub fn get_next_period_mut(&mut self, sample_threshold: usize) -> Option<&mut Vec<u8>> { in get_next_period_mut()106 if self.get_next_period_internal(sample_threshold) { in get_next_period_mut()113 pub fn get_next_period(&mut self, sample_threshold: usize) -> Option<&Vec<u8>> { in get_next_period()114 self.get_next_period_mut(sample_threshold).map(|r| &*r) in get_next_period()342 let sample_threshold = self.shared_audio_engine_period_in_frames * self.num_channels; in get_next_period() localVariable343 self.resampler_container.get_next_period(sample_threshold) in get_next_period()377 pub sample_threshold: usize, field[all …]