Home
last modified time | relevance | path

Searched refs:AFMT_ENCODING (Results 1 – 11 of 11) sorted by relevance

/freebsd-14.2/sys/dev/sound/pcm/
H A Dfeeder_format.c136 AFMT_ENCODING(f->desc->in) == feed_format_ops[i].format) in feed_format_init()
139 AFMT_ENCODING(f->desc->out) == feed_format_ops[i].format) in feed_format_init()
279 if (AFMT_ENCODING(format) == feed_format_ops[i].format) in feeder_format_read_op()
292 if (AFMT_ENCODING(format) == feed_format_ops[i].format) in feeder_format_write_op()
H A Dfeeder_chain.c185 AFMT_ENCODING(cdesc->current.afmt) == cdesc->afmt_ne) in feeder_build_formatne()
542 #define FEEDFORMAT_REQUIRED(c) (AFMT_ENCODING((c)->current.afmt) != \
543 AFMT_ENCODING((c)->target.afmt))
555 AFMT_ENCODING((c)->current.afmt) != AFMT_S16_NE) || \
557 AFMT_ENCODING((c)->current.afmt) != AFMT_S32_NE) || \
746 snd_fmtbest(AFMT_ENCODING(softfmt), in feeder_chain()
748 snd_fmtbest(AFMT_ENCODING(cdesc.target.afmt), in feeder_chain()
H A Dsound.h192 #define AFMT_ENCODING(v) ((v) & AFMT_ENCODING_MASK) macro
208 #define SND_FORMAT(f, c, e) (AFMT_ENCODING(f) | \
H A Dfeeder_matrix.c402 if (AFMT_ENCODING(f->desc->in) != AFMT_ENCODING(f->desc->out)) in feed_matrix_init()
418 if (AFMT_ENCODING(info->in) == feed_matrix_tab[i].format) in feed_matrix_init()
H A Ddsp.c831 p->play_format = AFMT_ENCODING(wrch->format); in dsp_ioctl()
847 p->rec_format = AFMT_ENCODING(rdch->format); in dsp_ioctl()
1174 *arg_i = AFMT_ENCODING(tmp); in dsp_ioctl()
1178 *arg_i = AFMT_ENCODING(chn->format); in dsp_ioctl()
2110 fmts |= AFMT_ENCODING(caps->fmtlist[i]); in dsp_oss_audioinfo()
2275 fmts |= AFMT_ENCODING(caps->fmtlist[i]); in dsp_oss_engineinfo()
H A Dfeeder_volume.c152 if (AFMT_ENCODING(f->desc->in) == in feed_volume_init()
H A Dfeeder_mixer.c148 if (AFMT_ENCODING(f->desc->in) == in feed_mixer_init()
H A Dfeeder_eq.c349 if (AFMT_ENCODING(f->desc->in) == feed_eq_biquad_tab[i].format) in feed_eq_init()
H A Dchannel.c987 (AFMT_ENCODING(fmt) & fmtlist[i]))) in snd_fmtvalid()
1109 enc = AFMT_ENCODING(afmt); in snd_afmt2str()
2408 return (AFMT_ENCODING(fmts)); in chn_getformats()
H A Dsndstat.c342 *fmts |= AFMT_ENCODING(caps->fmtlist[i]); in sndstat_get_caps()
H A Dfeeder_rate.c1249 if (AFMT_ENCODING(format) != z_resampler_tab[i].format) in z_resampler_setup()