Home
last modified time | relevance | path

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

/freebsd/sys/dev/sound/pcm/
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) || \
759 snd_fmtbest(AFMT_ENCODING(softfmt), in feeder_chain()
761 snd_fmtbest(AFMT_ENCODING(cdesc.target.afmt), in feeder_chain()
H A Dfeeder_format.c76 info->rdfmt = AFMT_ENCODING(f->desc->in); in feed_format_init()
80 info->wrfmt = AFMT_ENCODING(f->desc->out); in feed_format_init()
H A Dpcm.h134 fmt = AFMT_ENCODING(fmt); in pcm_sample_read()
275 fmt = AFMT_ENCODING(fmt); in pcm_sample_write()
415 fmt = AFMT_ENCODING(fmt); in pcm_clamp()
H A Dfeeder_matrix.c286 if (AFMT_ENCODING(f->desc->in) != AFMT_ENCODING(f->desc->out)) in feed_matrix_init()
295 info->fmt = AFMT_ENCODING(info->in); in feed_matrix_init()
H A Dsound.h489 #define AFMT_ENCODING(v) ((v) & AFMT_ENCODING_MASK) macro
505 #define SND_FORMAT(f, c, e) (AFMT_ENCODING(f) | \
H A Ddsp.c854 p->play_format = AFMT_ENCODING(wrch->format); in dsp_ioctl()
870 p->rec_format = AFMT_ENCODING(rdch->format); in dsp_ioctl()
1197 *arg_i = AFMT_ENCODING(tmp); in dsp_ioctl()
1201 *arg_i = AFMT_ENCODING(chn->format); in dsp_ioctl()
2114 fmts |= AFMT_ENCODING(caps->fmtlist[i]); in dsp_oss_audioinfo()
2280 fmts |= AFMT_ENCODING(caps->fmtlist[i]); in dsp_oss_engineinfo()
H A Dfeeder_mixer.c88 info->format = AFMT_ENCODING(f->desc->in); in feed_mixer_init()
H A Dfeeder_volume.c157 if (AFMT_ENCODING(f->desc->in) == in feed_volume_init()
H A Dfeeder_eq.c285 info->fmt = AFMT_ENCODING(f->desc->in); in feed_eq_init()
H A Dchannel.c951 (AFMT_ENCODING(fmt) & fmtlist[i]))) in snd_fmtvalid()
1082 enc = AFMT_ENCODING(afmt); in snd_afmt2str()
2367 return (AFMT_ENCODING(fmts)); in chn_getformats()
H A Dsndstat.c341 *fmts |= AFMT_ENCODING(caps->fmtlist[i]); in sndstat_get_caps()
H A Dfeeder_rate.c1239 if (AFMT_ENCODING(format) != z_resampler_tab[i].format) in z_resampler_setup()