mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
fix comment
This commit is contained in:
parent
fa2e07a0bd
commit
adc9c2db6b
1 changed files with 8 additions and 2 deletions
|
|
@ -159,7 +159,7 @@ int pa_asyncmsgq_send(pa_asyncmsgq *a, pa_msgobject *object, int code, const voi
|
|||
|
||||
pa_assert_se(i.semaphore);
|
||||
|
||||
/* Thus mutex makes the queue multiple-writer safe. This lock is only used on the writing side */
|
||||
/* This mutex makes the queue multiple-writer safe. This lock is only used on the writing side */
|
||||
pa_mutex_lock(a->mutex);
|
||||
pa_assert_se(pa_asyncq_push(a->asyncq, &i, TRUE) == 0);
|
||||
pa_mutex_unlock(a->mutex);
|
||||
|
|
@ -196,7 +196,13 @@ int pa_asyncmsgq_get(pa_asyncmsgq *a, pa_msgobject **object, int *code, void **u
|
|||
if (chunk)
|
||||
*chunk = a->current->memchunk;
|
||||
|
||||
/* pa_log_debug("Get q=%p object=%p (%s) code=%i data=%p chunk.length=%lu", (void*) a, (void*) a->current->object, a->current->object ? a->current->object->parent.type_name : NULL, a->current->code, (void*) a->current->userdata, (unsigned long) a->current->memchunk.length); */
|
||||
/* pa_log_debug("Get q=%p object=%p (%s) code=%i data=%p chunk.length=%lu", */
|
||||
/* (void*) a, */
|
||||
/* (void*) a->current->object, */
|
||||
/* a->current->object ? a->current->object->parent.type_name : NULL, */
|
||||
/* a->current->code, */
|
||||
/* (void*) a->current->userdata, */
|
||||
/* (unsigned long) a->current->memchunk.length); */
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue