From: Takashi Iwai Subject: Re: snd_mask_min Date: Tue, 26 Jul 2011 07:56:58 +0200 Message-ID: References: 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 92795103858 for ; Tue, 26 Jul 2011 07:56:58 +0200 (CEST) Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 6AD5D8EFD4 for ; Tue, 26 Jul 2011 07:56:58 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Mon, 25 Jul 2011 19:33:29 +0200, Tim Blechmann wrote: > > hi all, > > i've got a problem using params_format(): > > it uses an inline function snd_mask_min, which is declared in > sound/pcm_params.h, but this file is not included by sound/pcm.h, where it > is defined. including it manually, causes a huge number of errors. it would > be very helpful, if pcm.h would be self-contained. Well, pcm_params.h is just an additional header that aren't used by most drivers, so it doesn't make much sense to include such unconditionally from the common pcm.h. Takashi