Lines Matching refs:sformat
46 snd_pcm_format_t sformat;
245 _snd_pcm_hw_params_set_format(sparams, linear->sformat);
311 snd_pcm_format_physical_width(linear->sformat) == 24 ||
313 snd_pcm_format_width(linear->sformat) == 20);
317 linear->put_idx = snd_pcm_linear_put_index(SND_PCM_FORMAT_S32, linear->sformat);
319 linear->get_idx = snd_pcm_linear_get_index(linear->sformat, SND_PCM_FORMAT_S32);
325 linear->sformat);
327 linear->conv_idx = snd_pcm_linear_convert_index(linear->sformat,
387 snd_pcm_format_name(linear->sformat));
419 * \param sformat Slave (destination) format
427 int snd_pcm_linear_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *slave, int close_slave)
433 if (snd_pcm_format_linear(sformat) != 1)
440 linear->sformat = sformat;
517 snd_pcm_format_t sformat;
537 SND_PCM_HW_PARAM_FORMAT, SCONF_MANDATORY, &sformat);
540 if (snd_pcm_format_linear(sformat) != 1) {
549 err = snd_pcm_linear_open(pcmp, name, sformat, spcm, 1);