[pulseaudio-discuss] [PATCH] doc: Use correct parameter name wait_for_accept in documentation of pa_threaded_mainloop_signal()

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Fri Mar 7 05:43:26 PST 2014


On Fri, 2014-03-07 at 13:37 +0100, Peter Meerwald wrote:
> From: Peter Meerwald <p.meerwald at bct-electronic.com>
> 
> also sneaks in a full stop in documentation elsewhere
> 
> Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
> ---
>  src/pulse/thread-mainloop.h |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/pulse/thread-mainloop.h b/src/pulse/thread-mainloop.h
> index 8e8cbfe..6a786fc 100644
> --- a/src/pulse/thread-mainloop.h
> +++ b/src/pulse/thread-mainloop.h
> @@ -272,7 +272,7 @@ void pa_threaded_mainloop_stop(pa_threaded_mainloop *m);
>   * are executed with this lock held. */
>  void pa_threaded_mainloop_lock(pa_threaded_mainloop *m);
>  
> -/** Unlock the event loop object, inverse of pa_threaded_mainloop_lock() */
> +/** Unlock the event loop object, inverse of pa_threaded_mainloop_lock(). */
>  void pa_threaded_mainloop_unlock(pa_threaded_mainloop *m);
>  
>  /** Wait for an event to be signalled by the event loop thread. You
> @@ -287,7 +287,7 @@ void pa_threaded_mainloop_unlock(pa_threaded_mainloop *m);
>  void pa_threaded_mainloop_wait(pa_threaded_mainloop *m);
>  
>  /** Signal all threads waiting for a signalling event in
> - * pa_threaded_mainloop_wait(). If wait_for_release is non-zero, do
> + * pa_threaded_mainloop_wait(). If wait_for_accept is non-zero, do
>   * not return before the signal was accepted by a
>   * pa_threaded_mainloop_accept() call. While waiting for that condition
>   * the event loop object is unlocked. */

Looks good to me.

-- 
Tanu



More information about the pulseaudio-discuss mailing list