26 Jul
2011
26 Jul
'11
7:56 a.m.
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