alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Re: [alsa-cvslog] [ALSA GIT]ALSA utilities repository branch master updated. v1.0.27.2-14-gd2d9b6f
       [not found] <20131126104603.9E13326509E@alsa0.perex.cz>
@ 2013-11-26 12:51 ` Clemens Ladisch
  2013-11-26 13:29   ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Clemens Ladisch @ 2013-11-26 12:51 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

GIT server wrote:
> - Log -----------------------------------------------------------------
> commit d2d9b6fc8d20fca1e06fc261ac20fd6cfd8a8d1b
> Author: Takashi Iwai <tiwai@suse.de>
> Date:   Tue Nov 26 11:44:40 2013 +0100
>
>     alsactl: Add monitor command

>	mask = snd_ctl_event_elem_get_mask(event);
>	if (mask & SND_CTL_EVENT_MASK_VALUE)
>		printf(" VALUE");
>	if (mask & SND_CTL_EVENT_MASK_INFO)
>		printf(" INFO");
>	if (mask & SND_CTL_EVENT_MASK_ADD)
>		printf(" ADD");
>	if (mask & SND_CTL_EVENT_MASK_TLV)
>		printf(" TLV");
>	if (mask == SND_CTL_EVENT_MASK_REMOVE)
>		printf(" REMOVE");

The documentation of SND_CTL_EVENT_MASK_REMOVE says:
| Warning: test this first and if set don't test the other masks


Regards,
Clemens

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [alsa-cvslog] [ALSA GIT]ALSA utilities repository branch master updated. v1.0.27.2-14-gd2d9b6f
  2013-11-26 12:51 ` [alsa-cvslog] [ALSA GIT]ALSA utilities repository branch master updated. v1.0.27.2-14-gd2d9b6f Clemens Ladisch
@ 2013-11-26 13:29   ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2013-11-26 13:29 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: alsa-devel

At Tue, 26 Nov 2013 13:51:08 +0100,
Clemens Ladisch wrote:
> 
> GIT server wrote:
> > - Log -----------------------------------------------------------------
> > commit d2d9b6fc8d20fca1e06fc261ac20fd6cfd8a8d1b
> > Author: Takashi Iwai <tiwai@suse.de>
> > Date:   Tue Nov 26 11:44:40 2013 +0100
> >
> >     alsactl: Add monitor command
> 
> >	mask = snd_ctl_event_elem_get_mask(event);
> >	if (mask & SND_CTL_EVENT_MASK_VALUE)
> >		printf(" VALUE");
> >	if (mask & SND_CTL_EVENT_MASK_INFO)
> >		printf(" INFO");
> >	if (mask & SND_CTL_EVENT_MASK_ADD)
> >		printf(" ADD");
> >	if (mask & SND_CTL_EVENT_MASK_TLV)
> >		printf(" TLV");
> >	if (mask == SND_CTL_EVENT_MASK_REMOVE)
> >		printf(" REMOVE");
> 
> The documentation of SND_CTL_EVENT_MASK_REMOVE says:
> | Warning: test this first and if set don't test the other masks

Thanks, fixed now.


Takashi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-26 13:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20131126104603.9E13326509E@alsa0.perex.cz>
2013-11-26 12:51 ` [alsa-cvslog] [ALSA GIT]ALSA utilities repository branch master updated. v1.0.27.2-14-gd2d9b6f Clemens Ladisch
2013-11-26 13:29   ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).