snd_pcm_plug_slave_format
sformat = snd_pcm_plug_slave_format(format, sformat_mask);
snd_pcm_format_t snd_pcm_plug_slave_format(snd_pcm_format_t format,