Lines Matching defs:sformat
801 int format, sformat, n;
845 sformat = format;
847 sformat = snd_pcm_plug_slave_format(format, &sformat_mask);
849 if (sformat < 0 || !snd_mask_test(&sformat_mask, sformat)) {
850 for (sformat = 0; sformat <= SNDRV_PCM_FORMAT_LAST; sformat++) {
851 if (snd_mask_test(&sformat_mask, sformat) &&
852 snd_pcm_oss_format_to(sformat) >= 0)
855 if (sformat > SNDRV_PCM_FORMAT_LAST) {
861 err = _snd_pcm_hw_param_set(sparams, SNDRV_PCM_HW_PARAM_FORMAT, sformat, 0);