Searched refs:pre_lock (Results 1 – 3 of 3) sorted by relevance
215 pthread_mutex_t pre_lock; /* acquire before lock to avoid DOS by playback thread */ member278 pthread_mutex_t pre_lock; /* acquire before lock to avoid DOS by capture thread */ member
2035 pthread_mutex_lock(&in->pre_lock); in lock_input_stream()2037 pthread_mutex_unlock(&in->pre_lock); in lock_input_stream()2042 pthread_mutex_lock(&out->pre_lock); in lock_output_stream()2044 pthread_mutex_unlock(&out->pre_lock); in lock_output_stream()5412 pthread_mutex_init(&out->pre_lock, (const pthread_mutexattr_t *) NULL); in adev_open_output_stream()5481 pthread_mutex_destroy(&out->pre_lock); in adev_close_output_stream()5890 pthread_mutex_init(&in->pre_lock, (const pthread_mutexattr_t *) NULL); in adev_open_input_stream()6142 pthread_mutex_destroy(&in->pre_lock); in adev_close_input_stream()
75 pthread_mutex_t pre_lock; /* acquire before lock to avoid DOS by playback thread */ member157 pthread_mutex_init(&lock->pre_lock, (const pthread_mutexattr_t *) NULL); in stream_lock_init()161 pthread_mutex_lock(&lock->pre_lock); in stream_lock()163 pthread_mutex_unlock(&lock->pre_lock); in stream_lock()