mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -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
|
|
@ -289,7 +289,7 @@
|
|||
* issued on the others.
|
||||
*
|
||||
* To synchronize a stream to another, just pass the "master" stream
|
||||
* as last argument to pa_stream_connect_playack(). To make sure that
|
||||
* as last argument to pa_stream_connect_playback(). To make sure that
|
||||
* the freshly created stream doesn't start playback right-away, make
|
||||
* sure to pass PA_STREAM_START_CORKED and - after all streams have
|
||||
* been created - uncork them all with a single call to
|
||||
|
|
@ -716,7 +716,7 @@ pa_operation *pa_stream_set_buffer_attr(pa_stream *s, const pa_buffer_attr *attr
|
|||
|
||||
/** Change the stream sampling rate during playback. You need to pass
|
||||
* PA_STREAM_VARIABLE_RATE in the flags parameter of
|
||||
* pa_stream_connect() if you plan to use this function. Only valid
|
||||
* pa_stream_connect_...() if you plan to use this function. Only valid
|
||||
* after the stream has been connected successfully and if the server
|
||||
* is at least PulseAudio 0.9.8. \since 0.9.8 */
|
||||
pa_operation *pa_stream_update_sample_rate(pa_stream *s, uint32_t rate, pa_stream_success_cb_t cb, void *userdata);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue