From: Takashi Iwai Subject: Re: [alsa-cvslog] [ALSA GIT]ALSA utilities repository branch master updated. v1.0.27.2-14-gd2d9b6f Date: Tue, 26 Nov 2013 14:29:29 +0100 Message-ID: References: <20131126104603.9E13326509E@alsa0.perex.cz> <5294993C.1060505@ladisch.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id BE8A526030E for ; Tue, 26 Nov 2013 14:29:31 +0100 (CET) In-Reply-To: <5294993C.1060505@ladisch.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Clemens Ladisch Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 26 Nov 2013 13:51:08 +0100, Clemens Ladisch wrote: > > GIT server wrote: > > - Log ----------------------------------------------------------------- > > commit d2d9b6fc8d20fca1e06fc261ac20fd6cfd8a8d1b > > Author: Takashi Iwai > > 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