mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-11 13:30:02 -05:00
headers: Some trivial fixes for some documentation typos
Note also the willneed/will_need inconsistency. I guess it could be nice to ASAP
choose one of them and introduce a backward compatibility hack for the other.
The issues was mostly found with:
for a in $(grep -r '^[ /]\*.*()' $(
find -name '*.[ch]') |
sed 's,^.* \([^ ]*\)().*$,\1,g' |
sort |
uniq |
grep ^pa_)
do
grep -rq "^.[^*].*\<$a(" $(find * -name '*.h') || echo $a
done
This commit is contained in:
parent
0e47065fe5
commit
6faf38313e
9 changed files with 16 additions and 14 deletions
|
|
@ -48,8 +48,9 @@ void pa_asyncq_free(pa_asyncq* q, pa_free_cb_t free_cb);
|
|||
void* pa_asyncq_pop(pa_asyncq *q, pa_bool_t wait);
|
||||
int pa_asyncq_push(pa_asyncq *q, void *p, pa_bool_t wait);
|
||||
|
||||
/* Similar to pa_asyncq_push(), but if the queue is full, postpone it
|
||||
* locally and delay until pa_asyncq_before_poll_post() */
|
||||
/* Similar to pa_asyncq_push(), but if the queue is full, postpone the
|
||||
* appending of the item locally and delay until
|
||||
* pa_asyncq_before_poll_post() is called. */
|
||||
void pa_asyncq_post(pa_asyncq*l, void *p);
|
||||
|
||||
/* For the reading side */
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ void pa_aupdate_write_end(pa_aupdate *a);
|
|||
|
||||
/* Will return 0, or 1, depending which copy of the data the caller
|
||||
* should modify. Each time called this will return the opposite of
|
||||
* the previous pa_aupdate_write_begin()/pa_aupdate_write_swap()
|
||||
* the previous pa_aupdate_write_begin() / pa_aupdate_write_swap()
|
||||
* call. Should only be called between pa_aupdate_write_begin() and
|
||||
* pa_aupdate_write_end() */
|
||||
unsigned pa_aupdate_write_swap(pa_aupdate *a);
|
||||
|
|
|
|||
|
|
@ -165,7 +165,7 @@ void pa_memblockq_set_silence(pa_memblockq *memblockq, pa_memchunk *silence);
|
|||
void pa_memblockq_apply_attr(pa_memblockq *memblockq, const pa_buffer_attr *a);
|
||||
void pa_memblockq_get_attr(pa_memblockq *bq, pa_buffer_attr *a);
|
||||
|
||||
/* Call pa_memchunk_willneed() for every chunk in the queue from the current read pointer to the end */
|
||||
/* Call pa_memchunk_will_need() for every chunk in the queue from the current read pointer to the end */
|
||||
void pa_memblockq_willneed(pa_memblockq *bq);
|
||||
|
||||
/* Check whether the memblockq is completely empty, i.e. no data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue