Lines Matching defs:stream_out
96 struct stream_out { struct
97 struct audio_stream_out stream; argument
98 pthread_mutex_t lock; /* see note below on mutex acquisition order */
99 pthread_cond_t cond;
100 struct pcm_config config;
101 struct compr_config compr_config;
102 struct pcm *pcm;
103 struct compress *compr;
104 int standby;
105 int pcm_device_id;
106 unsigned int sample_rate;
107 audio_channel_mask_t channel_mask;
108 audio_format_t format;
109 audio_devices_t devices;
110 audio_output_flags_t flags;
111 audio_usecase_t usecase;
113 audio_channel_mask_t supported_channel_masks[MAX_SUPPORTED_CHANNEL_MASKS + 1];
114 bool muted;
115 uint64_t written; /* total frames written, not cleared when entering standby */
116 audio_io_handle_t handle;
118 int non_blocking;
119 int playback_started;
120 int offload_state;
121 pthread_cond_t offload_cond;
122 pthread_t offload_thread;
123 struct listnode offload_cmd_list;
124 bool offload_thread_blocked;
126 stream_callback_t offload_callback;
127 void *offload_cookie;
128 struct compr_gapless_mdata gapless_mdata;
129 int send_new_metadata;
131 struct audio_device *dev;