[alsa-devel] snd_mask_min

Takashi Iwai tiwai at suse.de
Tue Jul 26 07:56:58 CEST 2011


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


More information about the Alsa-devel mailing list