Searched refs:capture_index (Results 1 – 10 of 10) sorted by relevance
65 const int capture_index = start_sample_offset % kAudioCaptureBufferSize; in CaptureSamples() local67 PDM.read(g_audio_capture_buffer + capture_index, DEFAULT_PDM_BUFFER_SIZE); in CaptureSamples()112 const int capture_index = (start_offset + i) % kAudioCaptureBufferSize; in GetAudioSamples() local114 g_audio_output_buffer[i] = g_audio_capture_buffer[capture_index]; in GetAudioSamples()
53 const int capture_index = (start_offset + i) % kAudioCaptureBufferSize; in GetAudioSamples() local54 g_audio_output_buffer[i] = g_audio_capture_buffer[capture_index]; in GetAudioSamples()107 const int capture_index = in CaptureSamples() local109 g_audio_capture_buffer[capture_index] = sample_data[i]; in CaptureSamples()
52 const int capture_index = (sample_offset + i) % kAudioCaptureBufferSize; in OnAudioBufferFilledCallback() local53 g_audio_capture_buffer[capture_index] = float_samples[i] * ((1 << 15) - 1); in OnAudioBufferFilledCallback()130 const int capture_index = (start_offset + i) % kAudioCaptureBufferSize; in GetAudioSamples() local131 g_audio_output_buffer[i] = g_audio_capture_buffer[capture_index]; in GetAudioSamples()
118 const int capture_index = in CaptureSamples() local120 g_audio_capture_buffer[capture_index] = in CaptureSamples()172 const int capture_index = (start_offset + i) % kAudioCaptureBufferSize; in GetAudioSamples() local173 g_audio_output_buffer[i] = g_audio_capture_buffer[capture_index]; in GetAudioSamples()
142 const int capture_index = in CaptureSamples() local144 g_audio_capture_buffer[capture_index] = sample_data[i]; in CaptureSamples()375 const int capture_index = (start_offset + i) % kAudioCaptureBufferSize; in GetAudioSamples() local376 g_audio_output_buffer[i] = g_audio_capture_buffer[capture_index]; in GetAudioSamples()
357 const int capture_index = (start_offset + i) % kAudioCaptureBufferSize; in GetAudioSamples() local358 const int32_t capture_value = g_audio_capture_buffer[capture_index]; in GetAudioSamples()
521 const int capture_index = (start_offset + i) % kAudioCaptureBufferSize; in GetAudioSamples() local522 g_audio_output_buffer[i] = g_audio_capture_buffer[capture_index]; in GetAudioSamples()
93 fn capture_index() { in capture_index() function
140 capture_index: Cell::new(0), in build()230 capture_index: Cell<u32>, field421 let current = self.parser().capture_index.get(); in next_capture_index()425 self.parser().capture_index.set(i); in next_capture_index()1211 let capture_index = self.next_capture_index(open_span)?; in parse_group() localVariable1212 let cap = self.parse_capture_name(capture_index)?; in parse_group()1249 let capture_index = self.next_capture_index(open_span)?; in parse_group() localVariable1252 kind: ast::GroupKind::CaptureIndex(capture_index), in parse_group()1267 capture_index: u32, in parse_capture_name()1305 index: capture_index, in parse_capture_name()
1214 pub fn capture_index(&self) -> Option<u32> { in capture_index() method