ALSA: Make pcm.h self-contained
authorTakashi Iwai <tiwai@suse.de>
Tue, 26 Jul 2011 10:02:56 +0000 (12:02 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 26 Jul 2011 15:21:24 +0000 (17:21 +0200)
commitb51beb756aaf0770e4fa8bb2cb142888051aa356
tree89d6905997ef2f9094bc9c08d5fc88631a007e44
parent4d7fbdbcb1d563b1822c74da3c9e4aa4523d8d6d
ALSA: Make pcm.h self-contained

Move the macros depending on snd_mask_min() and co out of pcm.h into
pcm_params.h.  Otherwise using some params_*() macros will give comiple
errors without inclusion of pcm_params.h.

Also use hw_param_interval_c() and hw_param_mask_c() for const pointer.

Reported-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h
include/sound/pcm_params.h