Home
last modified time | relevance | path

Searched refs:nfr (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_output.c40 auimpl_export_##NAME(audio_engine_t *eng, uint_t nfr, uint_t froff) \
58 i = nfr; \
166 auimpl_output_mix(audio_stream_t *sp, int offset, int nfr) in auimpl_output_mix() argument
196 for (int i = nfr; i; i--) { in auimpl_output_mix()
210 sp->s_cnv_cnt -= nfr; in auimpl_output_mix()
211 sp->s_cnv_ptr += (nch * nfr); in auimpl_output_mix()
H A Daudio_engine.c157 int nfr, resid, cnt; in auimpl_engine_reset() local
161 nfr = min(e->e_head - e->e_tail, e->e_nframes); in auimpl_engine_reset()
162 buf = kmem_alloc(nfr * e->e_framesz, KM_SLEEP); in auimpl_engine_reset()
168 for (resid = nfr; resid; resid -= cnt) { in auimpl_engine_reset()
185 e->e_tidx = (e->e_nframes - nfr) % e->e_nframes; in auimpl_engine_reset()
188 e->e_hidx = nfr % e->e_nframes; in auimpl_engine_reset()
193 bcopy(buf, e->e_data + (e->e_tidx * e->e_framesz), nfr * e->e_framesz); in auimpl_engine_reset()
194 kmem_free(buf, nfr * e->e_framesz); in auimpl_engine_reset()
H A Daudio_input.c41 auimpl_import_##NAME(audio_engine_t *e, uint_t nfr, audio_stream_t *sp) \
60 i = nfr; \