Searched refs:buf_lock (Results 1 - 1 of 1) sorted by relevance

/external/bluetooth/bluez/audio/
H A Dandroid_audio_hw.c67 * - buf_lock: protects access to pcm buffer read and write indexes.
70 * buf_lock -> lock
72 * If you need to hold the adev_a2dp->lock AND the astream_out->lock or astream_out->buf_lock,
118 pthread_mutex_t buf_lock; /* mutex protecting read and write indexes */ member in struct:astream_out
411 pthread_mutex_lock(&out->buf_lock);
440 &out->buf_lock,
460 pthread_mutex_unlock(&out->buf_lock);
464 /* out->lock must be locked and out->buf_lock unlocked when jumping here */
468 pthread_mutex_unlock(&out->buf_lock);
483 pthread_mutex_lock(&out->buf_lock);
[all...]

Completed in 18 milliseconds