From: Takashi Iwai Subject: Re: bug in alsa-plugins: #if SND_PCM_EXTPLUG_VERSION wrong Date: Wed, 18 Mar 2015 17:10:09 +0100 Message-ID: References: <1426694319.1220522.242078389.41585360@webmail.messagingengine.com> 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 66C04260422 for ; Wed, 18 Mar 2015 17:10:10 +0100 (CET) In-Reply-To: <1426694319.1220522.242078389.41585360@webmail.messagingengine.com> 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: Ethan Grammatikidis Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Wed, 18 Mar 2015 15:58:39 +0000, Ethan Grammatikidis wrote: > > in alsa-plugins 1.0.28 and 1.0.29, mix/*.c contain the following line: > > #if SND_PCM_EXTPLUG_VERSION >= 0x102 > > that 0x102 needs to be 0x10002. i have alsa-lib 1.0.26 installed. its headers define SND_PCM_EXTPLUG_VERSION to 0x10001, corresponding to version number 1.0.1. that #if effectively tests for >= 0.1.2, so attempting to build alsa-plugins 1.0.28 or 1.0.29 results in a long list of errors. SND_CHMAP_MONO, SND_CHMAP_FL, etc are undeclared and snd_pcm_chmap_query_t is an unknown type. > > in alsa-plugins 1.0.26 SND_PCM_EXTPLUG_VERSION is not tested. i didn't look at 1.0.27 Good catch, I fixed now in git tree. Takashi