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
280 pthread_mutex_t pre_lock; /* acquire before lock to avoid DOS by capture thread */ member
Daudio_hw.c2048 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()
/hardware/libhardware/modules/usbaudio/
Daudio_hal.c79 pthread_mutex_t pre_lock; /* acquire before lock to avoid DOS by playback thread */ member
256 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()