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