Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/sound/pcm/
H A Dfeeder_format.c141 AFMT_ENCODING(f->desc->in) == feed_format_ops[i].format) in feed_format_init()
144 AFMT_ENCODING(f->desc->out) == feed_format_ops[i].format) in feed_format_init()
284 if (AFMT_ENCODING(format) == feed_format_ops[i].format) in feeder_format_read_op()
297 if (AFMT_ENCODING(format) == feed_format_ops[i].format) in feeder_format_write_op()
H A Dfeeder_chain.c187 AFMT_ENCODING(cdesc->current.afmt) == cdesc->afmt_ne) in feeder_build_formatne()
544 #define FEEDFORMAT_REQUIRED(c) (AFMT_ENCODING((c)->current.afmt) != \
545 AFMT_ENCODING((c)->target.afmt))
557 AFMT_ENCODING((c)->current.afmt) != AFMT_S16_NE) || \
559 AFMT_ENCODING((c)->current.afmt) != AFMT_S32_NE) || \
749 snd_fmtbest(AFMT_ENCODING(softfmt), in feeder_chain()
751 snd_fmtbest(AFMT_ENCODING(cdesc.target.afmt), in feeder_chain()
H A Dfeeder_matrix.c404 if (AFMT_ENCODING(f->desc->in) != AFMT_ENCODING(f->desc->out)) in feed_matrix_init()
420 if (AFMT_ENCODING(info->in) == feed_matrix_tab[i].format) in feed_matrix_init()
H A Dsound.h221 #define AFMT_ENCODING(v) ((v) & AFMT_ENCODING_MASK) macro
237 #define SND_FORMAT(f, c, e) (AFMT_ENCODING(f) | \
H A Dfeeder_volume.c154 if (AFMT_ENCODING(f->desc->in) == in feed_volume_init()
H A Dfeeder_mixer.c150 if (AFMT_ENCODING(f->desc->in) == in feed_mixer_init()
H A Ddsp.c1265 p->play_format = AFMT_ENCODING(wrch->format); in dsp_ioctl()
1281 p->rec_format = AFMT_ENCODING(rdch->format); in dsp_ioctl()
1598 *arg_i = AFMT_ENCODING(tmp); in dsp_ioctl()
1602 *arg_i = AFMT_ENCODING(chn->format); in dsp_ioctl()
H A Dchannel.c989 (AFMT_ENCODING(fmt) & fmtlist[i]))) in snd_fmtvalid()
1111 enc = AFMT_ENCODING(afmt); in snd_afmt2str()
2298 return (AFMT_ENCODING(fmts)); in chn_getformats()
H A Dfeeder_eq.c351 if (AFMT_ENCODING(f->desc->in) == feed_eq_biquad_tab[i].format) in feed_eq_init()
H A Dfeeder_rate.c1251 if (AFMT_ENCODING(format) != z_resampler_tab[i].format) in z_resampler_setup()
/freebsd-13.1/sys/dev/sound/pci/
H A Daureal.c257 switch(AFMT_ENCODING(format)) { in au_prepareoutput()
/freebsd-13.1/sys/dev/sound/isa/
H A Dad1816.c356 switch (AFMT_ENCODING(format)) { in ad1816chan_setformat()
H A Dmss.c1001 int i, arg = AFMT_ENCODING(format); in mss_format()