Home
last modified time | relevance | path

Searched refs:pre_lock (Results 1 – 3 of 3) sorted by relevance

/hardware/qcom/audio/hal/
Daudio_hw.h215 pthread_mutex_t pre_lock; /* acquire before lock to avoid DOS by playback thread */ member
278 pthread_mutex_t pre_lock; /* acquire before lock to avoid DOS by capture thread */ member
Daudio_hw.c2035 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()
/hardware/libhardware/modules/usbaudio/
Daudio_hal.c75 pthread_mutex_t pre_lock; /* acquire before lock to avoid DOS by playback thread */ member
157 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()