Lines Matching refs:audio_thread
190 static int audio_thread_send_response(struct audio_thread *thread, int rc) in audio_thread_send_response()
235 static int audio_thread_read_command(struct audio_thread *thread, uint8_t *buf, in audio_thread_read_command()
265 static int thread_add_open_dev(struct audio_thread *thread, in thread_add_open_dev()
292 static int thread_rm_open_dev(struct audio_thread *thread, in thread_rm_open_dev()
309 static int thread_is_dev_open(struct audio_thread *thread, in thread_is_dev_open()
330 static int thread_dev_start_ramp(struct audio_thread *thread, in thread_dev_start_ramp()
363 static int thread_find_stream(struct audio_thread *thread, in thread_find_stream()
379 static int thread_disconnect_stream(struct audio_thread *thread, in thread_disconnect_stream()
399 static int thread_drain_stream_ms_remaining(struct audio_thread *thread, in thread_drain_stream_ms_remaining()
422 static int thread_drain_stream(struct audio_thread *thread, in thread_drain_stream()
439 static int thread_add_stream(struct audio_thread *thread, in thread_add_stream()
456 static int thread_set_aec_dump(struct audio_thread *thread, in thread_set_aec_dump()
563 static int handle_audio_thread_message(struct audio_thread *thread) in handle_audio_thread_message()
722 static int fill_next_sleep_interval(struct audio_thread *thread, in fill_next_sleep_interval()
746 static struct pollfd *add_pollfd(struct audio_thread *thread, int fd, in add_pollfd()
823 struct audio_thread *thread = (struct audio_thread *)arg; in audio_io_thread()
950 static int audio_thread_post_message(struct audio_thread *thread, in audio_thread_post_message()
1042 int audio_thread_add_stream(struct audio_thread *thread, in audio_thread_add_stream()
1058 int audio_thread_disconnect_stream(struct audio_thread *thread, in audio_thread_disconnect_stream()
1071 int audio_thread_drain_stream(struct audio_thread *thread, in audio_thread_drain_stream()
1083 int audio_thread_dump_thread_info(struct audio_thread *thread, in audio_thread_dump_thread_info()
1092 int audio_thread_set_aec_dump(struct audio_thread *thread, in audio_thread_set_aec_dump()
1107 int audio_thread_rm_callback_sync(struct audio_thread *thread, int fd) in audio_thread_rm_callback_sync()
1119 int audio_thread_config_global_remix(struct audio_thread *thread, in audio_thread_config_global_remix()
1172 struct audio_thread *audio_thread_create() in audio_thread_create()
1175 struct audio_thread *thread; in audio_thread_create()
1177 thread = (struct audio_thread *)calloc(1, sizeof(*thread)); in audio_thread_create()
1214 int audio_thread_add_open_dev(struct audio_thread *thread, in audio_thread_add_open_dev()
1228 int audio_thread_rm_open_dev(struct audio_thread *thread, in audio_thread_rm_open_dev()
1242 int audio_thread_is_dev_open(struct audio_thread *thread, in audio_thread_is_dev_open()
1254 int audio_thread_dev_start_ramp(struct audio_thread *thread, in audio_thread_dev_start_ramp()
1270 int audio_thread_start(struct audio_thread *thread) in audio_thread_start()
1285 void audio_thread_destroy(struct audio_thread *thread) in audio_thread_destroy()