Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
To: tiwai@alsa-project.org, clemens@ladisch.de
Cc: alsa-devel@alsa-project.org,
	Takashi Sakamoto <mocchi@Mocchi64.miraclelinux.com>
Subject: Re: [PATCH lib] control: complement comment for subscribe API
Date: Tue, 10 Feb 2015 00:22:54 +0900	[thread overview]
Message-ID: <54D8D0CE.2090601@sakamocchi.jp> (raw)
In-Reply-To: <1423495122-24893-1-git-send-email-o-takashi@sakamocchi.jp>

Oops. I passed a wrong value to signed-off-by field...
Please abandon this message, sorry.


Regards

Takashi Sakamoto

On Feb 10 2015 00:18, Takashi Sakamoto wrote:
> From: Takashi Sakamoto <mocchi@Mocchi64.miraclelinux.com>
>
> When minus value is given as a parameter, the API returns whether
> the caller has already subscribed or not.
>
> This commit adds a comment about this so as better documentation.
>
> Signed-off-by: Takashi Sakamoto <mocchi@Mocchi64.miraclelinux.com>
> ---
>   src/control/control.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/control/control.c b/src/control/control.c
> index dd428a1..4a28cf6 100644
> --- a/src/control/control.c
> +++ b/src/control/control.c
> @@ -213,7 +213,7 @@ int snd_ctl_poll_descriptors_revents(snd_ctl_t *ctl, struct pollfd *pfds, unsign
>   /**
>    * \brief Ask to be informed about events (poll, #snd_async_add_ctl_handler, #snd_ctl_read)
>    * \param ctl CTL handle
> - * \param subscribe 0 = unsubscribe, 1 = subscribe
> + * \param subscribe 0 = unsubscribe, 1 = subscribe, -1 = check subscribe or not
>    * \return 0 on success otherwise a negative error code
>    */
>   int snd_ctl_subscribe_events(snd_ctl_t *ctl, int subscribe)

  reply	other threads:[~2015-02-09 15:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-09 15:18 [PATCH lib] control: complement comment for subscribe API Takashi Sakamoto
2015-02-09 15:22 ` Takashi Sakamoto [this message]
2015-02-09 15:27 ` [PATCH v2] " Takashi Sakamoto
2015-02-09 15:35   ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54D8D0CE.2090601@sakamocchi.jp \
    --to=o-takashi@sakamocchi.jp \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=mocchi@Mocchi64.miraclelinux.com \
    --cc=tiwai@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox