Lines Matching defs:stream_out
145 struct stream_out { struct
146 struct audio_stream_out stream; argument
147 pthread_mutex_t lock; /* see note below on mutex acquisition order */
148 pthread_mutex_t pre_lock; /* acquire before lock to avoid DOS by playback thread */
149 pthread_cond_t cond;
150 struct pcm_config config;
151 struct compr_config compr_config;
152 struct pcm *pcm;
153 struct compress *compr;
154 int standby;
155 int pcm_device_id;
156 unsigned int sample_rate;
157 audio_channel_mask_t channel_mask;
158 audio_format_t format;
159 audio_devices_t devices;
160 audio_output_flags_t flags;
161 audio_usecase_t usecase;
163 audio_channel_mask_t supported_channel_masks[MAX_SUPPORTED_CHANNEL_MASKS + 1];
164 bool muted;
165 uint64_t written; /* total frames written, not cleared when entering standby */
166 audio_io_handle_t handle;
168 int non_blocking;
169 int playback_started;
170 int offload_state;
171 pthread_cond_t offload_cond;
172 pthread_t offload_thread;
173 struct listnode offload_cmd_list;
174 bool offload_thread_blocked;
176 stream_callback_t offload_callback;
177 void *offload_cookie;
178 struct compr_gapless_mdata gapless_mdata;
179 int send_new_metadata;
181 struct audio_device *dev;