Lines Matching defs:stream_in
277 struct stream_in { struct
278 struct audio_stream_in stream; argument
279 pthread_mutex_t lock; /* see note below on mutex acquisition order */
280 pthread_mutex_t pre_lock; /* acquire before lock to avoid DOS by capture thread */
281 struct pcm_config config;
282 struct pcm *pcm;
283 int standby;
284 int source;
285 int pcm_device_id;
286 audio_devices_t device;
287 audio_channel_mask_t channel_mask;
288 unsigned int sample_rate;
289 audio_usecase_t usecase;
290 bool enable_aec;
291 bool enable_ns;
292 bool enable_ec_port;
293 bool ec_opened;
294 struct listnode aec_list;
295 struct listnode ns_list;
296 int64_t frames_read; /* total frames read, not cleared when entering standby */
297 int64_t frames_muted; /* total frames muted, not cleared when entering standby */
298 int64_t mmap_time_offset_nanos; /* fudge factor to correct inaccuracies in DSP */
299 int mmap_shared_memory_fd; /* file descriptor associated with MMAP NOIRQ shared memory */
301 audio_io_handle_t capture_handle;
302 audio_input_flags_t flags;
303 bool is_st_session;
304 bool is_st_session_active;
305 bool realtime;
306 int af_period_multiplier;
307 struct audio_device *dev;
308 audio_format_t format;
309 card_status_t card_status;
310 int capture_started;
311 float zoom;
312 audio_microphone_direction_t direction;
336 struct stream_in *in; argument