Lines Matching refs:lock
54 pthread_mutex_t lock; member
73 pthread_mutex_t lock; member
97 pthread_mutex_init (&audio_vbuffer->lock, (const pthread_mutexattr_t *) NULL); in audio_vbuffer_init()
106 pthread_mutex_destroy(&audio_vbuffer->lock); in audio_vbuffer_destroy()
114 pthread_mutex_lock (&audio_vbuffer->lock); in audio_vbuffer_live()
116 pthread_mutex_unlock (&audio_vbuffer->lock); in audio_vbuffer_live()
123 pthread_mutex_lock (&audio_vbuffer->lock); in audio_vbuffer_write()
144 pthread_mutex_unlock (&audio_vbuffer->lock); in audio_vbuffer_write()
150 pthread_mutex_lock (&audio_vbuffer->lock); in audio_vbuffer_read()
171 pthread_mutex_unlock (&audio_vbuffer->lock); in audio_vbuffer_read()
177 pthread_mutex_t lock; member
208 pthread_mutex_t lock; member
299 pthread_mutex_lock(&out->lock); in out_dump()
322 pthread_mutex_unlock(&out->lock); in out_dump()
370 pthread_mutex_lock(&out->lock); in out_get_parameters()
376 pthread_mutex_unlock(&out->lock); in out_get_parameters()
428 pthread_mutex_lock(&out->lock); in out_write_worker()
440 pthread_cond_wait(&out->worker_wake, &out->lock); in out_write_worker()
451 pthread_cond_wait(&out->worker_wake, &out->lock); in out_write_worker()
455 pthread_mutex_unlock(&out->lock); in out_write_worker()
469 pthread_mutex_unlock(&out->lock); in out_write_worker()
477 pthread_mutex_unlock(&out->lock); in out_write_worker()
482 pthread_mutex_unlock(&out->lock); in out_write_worker()
542 pthread_mutex_lock(&out->lock); in out_write()
589 pthread_mutex_unlock(&out->lock); in out_write()
612 pthread_mutex_lock(&out->lock); in out_get_presentation_position()
614 pthread_mutex_unlock(&out->lock); in out_get_presentation_position()
626 pthread_mutex_lock(&out->lock); in out_get_render_position()
628 pthread_mutex_unlock(&out->lock); in out_get_render_position()
651 pthread_mutex_unlock(&out->lock); in do_out_standby()
653 pthread_mutex_lock(&out->lock); in do_out_standby()
662 pthread_mutex_lock(&out->lock); in out_standby()
664 pthread_mutex_unlock(&out->lock); in out_standby()
832 pthread_mutex_lock(&in->lock); in in_dump()
846 pthread_mutex_unlock(&in->lock); in in_dump()
971 pthread_mutex_lock(&in->lock); in in_standby()
973 pthread_mutex_unlock(&in->lock); in in_standby()
988 pthread_mutex_lock(&in->lock); in in_read_worker()
1000 pthread_cond_wait(&in->worker_wake, &in->lock); in in_read_worker()
1010 pthread_mutex_unlock(&in->lock); in in_read_worker()
1023 pthread_mutex_unlock(&in->lock); in in_read_worker()
1031 pthread_mutex_unlock(&in->lock); in in_read_worker()
1035 pthread_mutex_unlock(&in->lock); in in_read_worker()
1043 pthread_mutex_lock(&in->lock); in in_read_worker()
1045 pthread_mutex_unlock(&in->lock); in in_read_worker()
1067 pthread_mutex_lock(&in->lock); in in_read()
1092 pthread_mutex_unlock(&in->lock); in in_read()
1098 pthread_mutex_lock(&in->lock); in in_read()
1146 pthread_mutex_unlock(&in->lock); in in_read()
1160 pthread_mutex_lock(&in->lock); in in_get_capture_position()
1164 pthread_mutex_unlock(&in->lock); in in_get_capture_position()
1232 pthread_mutex_init(&out->lock, (const pthread_mutexattr_t *) NULL); in adev_open_output_stream()
1263 pthread_mutex_lock(&adev->lock); in adev_open_output_stream()
1265 pthread_mutex_unlock(&adev->lock); in adev_open_output_stream()
1293 pthread_mutex_lock(&out->lock); in adev_close_output_stream()
1298 pthread_mutex_unlock(&out->lock); in adev_close_output_stream()
1301 pthread_mutex_destroy(&out->lock); in adev_close_output_stream()
1305 pthread_mutex_lock(&adev->lock); in adev_close_output_stream()
1307 pthread_mutex_unlock(&adev->lock); in adev_close_output_stream()
1362 pthread_mutex_lock(&adev->lock); in adev_set_mic_mute()
1364 pthread_mutex_unlock(&adev->lock); in adev_set_mic_mute()
1371 pthread_mutex_lock(&adev->lock); in adev_get_mic_mute()
1373 pthread_mutex_unlock(&adev->lock); in adev_get_mic_mute()
1403 pthread_mutex_lock(&in->lock); in adev_close_input_stream()
1408 pthread_mutex_unlock(&in->lock); in adev_close_input_stream()
1416 pthread_mutex_destroy(&in->lock); in adev_close_input_stream()
1420 pthread_mutex_lock(&adev->lock); in adev_close_input_stream()
1422 pthread_mutex_unlock(&adev->lock); in adev_close_input_stream()
1470 pthread_mutex_init(&in->lock, (const pthread_mutexattr_t *) NULL); in adev_open_input_stream()
1499 pthread_mutex_lock(&adev->lock); in adev_open_input_stream()
1501 pthread_mutex_unlock(&adev->lock); in adev_open_input_stream()
1588 pthread_mutex_lock(&adev->lock); in adev_create_audio_patch()
1612 pthread_mutex_lock(&in->lock); in adev_create_audio_patch()
1614 pthread_mutex_unlock(&in->lock); in adev_create_audio_patch()
1631 pthread_mutex_unlock(&out->lock); in adev_create_audio_patch()
1634 pthread_mutex_lock(&out->lock); in adev_create_audio_patch()
1638 pthread_mutex_unlock(&out->lock); in adev_create_audio_patch()
1646 pthread_mutex_unlock(&adev->lock); in adev_create_audio_patch()
1684 pthread_mutex_lock(&adev->lock); in adev_release_audio_patch()
1687 pthread_mutex_lock(&out->lock); in adev_release_audio_patch()
1690 pthread_mutex_unlock(&out->lock); in adev_release_audio_patch()
1692 pthread_mutex_unlock(&adev->lock); in adev_release_audio_patch()
1697 pthread_mutex_lock(&in->lock); in adev_release_audio_patch()
1699 pthread_mutex_unlock(&in->lock); in adev_release_audio_patch()
1701 pthread_mutex_unlock(&adev->lock); in adev_release_audio_patch()
1705 pthread_mutex_unlock(&adev->lock); in adev_release_audio_patch()
1755 pthread_mutex_init(&adev->lock, (const pthread_mutexattr_t *) NULL); in adev_open()