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 */ member280 pthread_mutex_t pre_lock; /* acquire before lock to avoid DOS by capture thread */ member
2048 pthread_mutex_lock(&in->pre_lock); in lock_input_stream()2050 pthread_mutex_unlock(&in->pre_lock); in lock_input_stream()2055 pthread_mutex_lock(&out->pre_lock); in lock_output_stream()2057 pthread_mutex_unlock(&out->pre_lock); in lock_output_stream()5538 pthread_mutex_init(&out->pre_lock, (const pthread_mutexattr_t *) NULL); in adev_open_output_stream()5607 pthread_mutex_destroy(&out->pre_lock); in adev_close_output_stream()6016 pthread_mutex_init(&in->pre_lock, (const pthread_mutexattr_t *) NULL); in adev_open_input_stream()6268 pthread_mutex_destroy(&in->pre_lock); in adev_close_input_stream()
79 pthread_mutex_t pre_lock; /* acquire before lock to avoid DOS by playback thread */ member256 pthread_mutex_init(&lock->pre_lock, (const pthread_mutexattr_t *) NULL); in stream_lock_init()263 pthread_mutex_lock(&lock->pre_lock); in stream_lock()265 pthread_mutex_unlock(&lock->pre_lock); in stream_lock()