Lines Matching refs:sformat
84 snd_pcm_format_t sformat;
332 if (adpcm->sformat == SND_PCM_FORMAT_IMA_ADPCM) {
357 _snd_pcm_hw_params_set_format(sparams, adpcm->sformat);
425 if (adpcm->sformat == SND_PCM_FORMAT_IMA_ADPCM) {
429 adpcm->getput_idx = snd_pcm_linear_put_index(SND_PCM_FORMAT_S16, adpcm->sformat);
433 if (adpcm->sformat == SND_PCM_FORMAT_IMA_ADPCM) {
437 adpcm->getput_idx = snd_pcm_linear_get_index(adpcm->sformat, SND_PCM_FORMAT_S16);
511 snd_pcm_format_name(adpcm->sformat));
542 * \param sformat Slave (destination) format
550 int snd_pcm_adpcm_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *slave, int close_slave)
556 if (snd_pcm_format_linear(sformat) != 1 &&
557 sformat != SND_PCM_FORMAT_IMA_ADPCM)
563 adpcm->sformat = sformat;
641 snd_pcm_format_t sformat;
661 SND_PCM_HW_PARAM_FORMAT, SCONF_MANDATORY, &sformat);
664 if (snd_pcm_format_linear(sformat) != 1 &&
665 sformat != SND_PCM_FORMAT_IMA_ADPCM) {
674 err = snd_pcm_adpcm_open(pcmp, name, sformat, spcm, 1);