Home
last modified time | relevance | path

Searched refs:audio_thread (Results 1 – 15 of 15) sorted by relevance

/external/adhd/cras/src/server/
Daudio_thread.h35 struct audio_thread { struct
59 struct audio_thread *audio_thread_create(); argument
66 int audio_thread_add_open_dev(struct audio_thread *thread,
74 int audio_thread_rm_open_dev(struct audio_thread *thread,
82 int audio_thread_is_dev_open(struct audio_thread *thread,
116 int audio_thread_rm_callback_sync(struct audio_thread *thread, int fd);
128 int audio_thread_start(struct audio_thread *thread);
131 void audio_thread_destroy(struct audio_thread *thread);
145 int audio_thread_add_stream(struct audio_thread *thread,
159 int audio_thread_drain_stream(struct audio_thread *thread,
[all …]
Daudio_thread.c180 static int audio_thread_send_response(struct audio_thread *thread, int rc) in audio_thread_send_response()
224 static int audio_thread_read_command(struct audio_thread *thread, in audio_thread_read_command()
255 static int append_stream(struct audio_thread *thread, in append_stream()
362 static int thread_add_open_dev(struct audio_thread *thread, in thread_add_open_dev()
390 static int thread_rm_open_dev(struct audio_thread *thread, in thread_rm_open_dev()
406 static int thread_is_dev_open(struct audio_thread *thread, in thread_is_dev_open()
415 static int thread_dev_start_ramp(struct audio_thread *thread, in thread_dev_start_ramp()
429 static int thread_find_stream(struct audio_thread *thread, in thread_find_stream()
445 static int thread_disconnect_stream(struct audio_thread* thread, in thread_disconnect_stream()
465 static int thread_drain_stream_ms_remaining(struct audio_thread *thread, in thread_drain_stream_ms_remaining()
[all …]
Dcras_iodev_list.c82 static struct audio_thread *audio_thread; variable
363 audio_thread, in sys_mute_change()
380 audio_thread_rm_open_dev(audio_thread, dev); in remove_all_streams_from_dev()
525 rc = audio_thread_add_open_dev(audio_thread, dev); in init_device()
548 audio_thread_disconnect_stream(audio_thread, in suspend_devs()
554 audio_thread_disconnect_stream(audio_thread, rstream, in suspend_devs()
652 return audio_thread_add_stream(audio_thread, in add_stream_to_open_devs()
740 if (audio_thread_is_dev_open(audio_thread, dev)) in init_pinned_device()
906 rc = audio_thread_drain_stream(audio_thread, rstream); in stream_removed_cb()
975 audio_thread_disconnect_stream(audio_thread, stream, dev); in disable_device()
[all …]
Dcras_iodev_list.h205 struct audio_thread *cras_iodev_list_get_audio_thread();
Dcras_iodev.h27 struct audio_thread;
/external/adhd/cras/src/tests/
Daudio_thread_monitor_unittest.cc99 struct audio_thread* cras_iodev_list_get_audio_thread() { in cras_iodev_list_get_audio_thread()
100 return reinterpret_cast <struct audio_thread*>(0xff); in cras_iodev_list_get_audio_thread()
103 int audio_thread_dump_thread_info(struct audio_thread *thread, in audio_thread_dump_thread_info()
Drclient_unittest.cc40 static audio_thread* iodev_get_thread_return;
81 iodev_get_thread_return = reinterpret_cast<audio_thread*>(0xad); in ResetStubData()
674 struct audio_thread* cras_iodev_list_get_audio_thread() { in cras_iodev_list_get_audio_thread()
688 int audio_thread_rm_stream(audio_thread* thread, in audio_thread_rm_stream()
693 void audio_thread_add_output_dev(struct audio_thread *thread, in audio_thread_add_output_dev()
698 int audio_thread_dump_thread_info(struct audio_thread *thread, in audio_thread_dump_thread_info()
704 int audio_thread_suspend(struct audio_thread *thread) in audio_thread_suspend()
709 int audio_thread_resume(struct audio_thread *thread) in audio_thread_resume()
714 int audio_thread_config_global_remix(struct audio_thread *thread, in audio_thread_config_global_remix()
721 int audio_thread_set_aec_dump(struct audio_thread *thread, in audio_thread_set_aec_dump()
Diodev_list_unittest.cc40 static struct audio_thread thread;
1589 struct audio_thread *audio_thread_create() { in audio_thread_create()
1593 int audio_thread_start(struct audio_thread *thread) { in audio_thread_start()
1597 void audio_thread_destroy(struct audio_thread *thread) { in audio_thread_destroy()
1600 int audio_thread_set_active_dev(struct audio_thread *thread, in audio_thread_set_active_dev()
1607 void audio_thread_remove_streams(struct audio_thread *thread, in audio_thread_remove_streams()
1612 int audio_thread_add_open_dev(struct audio_thread *thread, in audio_thread_add_open_dev()
1620 int audio_thread_rm_open_dev(struct audio_thread *thread, in audio_thread_rm_open_dev()
1627 int audio_thread_is_dev_open(struct audio_thread *thread, in audio_thread_is_dev_open()
1633 int audio_thread_add_stream(struct audio_thread *thread, in audio_thread_add_stream()
[all …]
Daudio_thread_unittest_obsolete.cc240 struct audio_thread *thread; in TEST_F()
265 struct audio_thread *thread; in TEST_F()
296 struct audio_thread *thread; in TEST_F()
328 struct audio_thread *thread; in TEST_F()
366 struct audio_thread *thread; in TEST_F()
407 struct audio_thread *thread; in TEST_F()
455 struct audio_thread *thread; in TEST_F()
660 struct audio_thread *thread_;
1198 struct audio_thread *thread; in add_rm_two_streams()
1307 struct audio_thread *thread; in TEST_F()
[all …]
Dhfp_info_unittest.cc313 struct audio_thread *cras_iodev_list_get_audio_thread() in cras_iodev_list_get_audio_thread()
326 int audio_thread_rm_callback_sync(struct audio_thread *thread, int fd) in audio_thread_rm_callback_sync()
Da2dp_iodev_unittest.cc569 struct audio_thread *cras_iodev_list_get_audio_thread() in cras_iodev_list_get_audio_thread()
581 int audio_thread_rm_callback_sync(struct audio_thread *thread, int fd) { in audio_thread_rm_callback_sync()
Dalsa_io_unittest.cc2324 struct audio_thread *cras_iodev_list_get_audio_thread() in cras_iodev_list_get_audio_thread()
2831 struct audio_thread *audio_thread_create() { in audio_thread_create()
2832 return reinterpret_cast<audio_thread*>(0x323); in audio_thread_create()
2835 void audio_thread_destroy(audio_thread* thread) { in audio_thread_destroy()
2956 int audio_thread_rm_callback_sync(struct audio_thread *thread, int fd) { in audio_thread_rm_callback_sync()
Daudio_thread_unittest.cc193 struct audio_thread *thread_;
703 struct audio_thread thread; in TEST()
Diodev_unittest.cc2338 int audio_thread_post_message(struct audio_thread *thread, in audio_thread_post_message()
/external/adhd/cras/src/libcras/
Dcras_client.c1240 static void *audio_thread(void *arg) in audio_thread() function
1346 rc = pthread_create(&stream->thread.tid, NULL, audio_thread, stream); in start_aud_thread()