Searched refs:fragfr (Results 1 – 9 of 9) sorted by relevance
142 uint_t fragfr = e->e_fragfr; in auimpl_input_callback() local193 while ((e->e_head - e->e_tail) > fragfr) { in auimpl_input_callback()198 ENG_SYNC(e, fragfr); in auimpl_input_callback()213 e->e_import(e, fragfr, sp); in auimpl_input_callback()220 count = sp->s_converter(sp, fragfr); in auimpl_input_callback()222 count = fragfr; in auimpl_input_callback()258 e->e_tail += fragfr; in auimpl_input_callback()259 e->e_tidx += fragfr; in auimpl_input_callback()
89 uint_t fragfr = eng->e_fragfr; in auimpl_output_limiter() local93 for (t = 0; t < fragfr; t++) { in auimpl_output_limiter()226 uint_t fragfr; in auimpl_consume_fragment() local233 fragfr = sp->s_fragfr; in auimpl_consume_fragment()242 count = min(avail, fragfr); in auimpl_consume_fragment()265 count = min(avail, fragfr); in auimpl_consume_fragment()277 uint_t fragfr = eng->e_fragfr; in auimpl_output_callback_impl() local302 need = fragfr; in auimpl_output_callback_impl()431 resid = fragfr; in auimpl_output_callback_impl()434 eng->e_export(eng, part, fragfr - resid); in auimpl_output_callback_impl()[all …]
382 int fragfr; in auimpl_engine_setup() local732 fragfr = e->e_rate / audio_intrhz; in auimpl_engine_setup()733 if ((fragfr > AUDIO_CHBUFS) || (fragfr < 1)) { in auimpl_engine_setup()747 if ((e->e_nframes <= (fragfr * 2)) || (e->e_data == NULL)) { in auimpl_engine_setup()754 e->e_fragfr = fragfr; in auimpl_engine_setup()763 e->e_playahead = (fragfr * 3) / 2; in auimpl_engine_setup()770 if (e->e_playahead < ((fragfr * 3) / 2)) { in auimpl_engine_setup()771 e->e_playahead = (fragfr * 3) / 2; in auimpl_engine_setup()778 e->e_playahead = (fragfr * 3) / 2; in auimpl_engine_setup()
706 uint_t fragfr; in auimpl_format_setup() local816 fragfr = (uparms->p_rate / audio_intrhz); in auimpl_format_setup()817 fragbytes = fragfr * framesz; in auimpl_format_setup()889 sp->s_fragfr = fragfr; in auimpl_format_setup()892 sp->s_nframes = nfrags * fragfr; in auimpl_format_setup()
144 unsigned fragfr; /* number of frames per fragment */ member294 _NOTE(DATA_READABLE_WITHOUT_LOCK(usb_audio_eng_t::fragfr))
213 unsigned fragfr; member
742 port->fragfr = port->nframes / IXP_BD_NUMS; in audioixp_alloc_port()743 port->fragsz = port->fragfr * port->nchan * 2; in audioixp_alloc_port()
325 unsigned fragfr; member
5367 if (frames > engp->fragfr) in usb_ac_get_audio()5368 frames = engp->fragfr; in usb_ac_get_audio()5417 if (frames > engp->fragfr) in usb_ac_send_audio()5418 frames = engp->fragfr; in usb_ac_send_audio()5479 engp->fragfr = engp->fragsz / engp->framesz; in usb_engine_open()5493 *nframesp = engp->nfrags * engp->fragfr; in usb_engine_open()5683 return (engp->fragfr); in usb_engine_qlen()