chnparams — Query parameters of a channel.
itype -- channel data type (1: control, 2: audio, 3: string)
imode -- sum of 1 for input and 2 for output
ictltype -- special parameter for control channel only; if not available, set to zero.
idflt -- special parameter for control channel only; if not available, set to zero.
imin -- special parameter for control channel only; if not available, set to zero.
imax -- special parameter for control channel only; if not available, set to zero.