Home
last modified time | relevance | path

Searched refs:playcount (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/dev/sound/pcm/
H A Dsound.c222 if (d->playcount == 0) in pcm_best_unit()
336 if (d->playcount > 0) in sysctl_dev_pcm_mode()
408 d->playcount = 0; in pcm_init()
435 if (d->playcount == 0 || d->reccount == 0) in pcm_register()
437 if (d->playcount > 0) in pcm_register()
H A Dsound.h150 (d->playcount + d->pvchancount + d->reccount + d->rvchancount)
235 unsigned playcount, reccount, pvchancount, rvchancount; member
H A Dsndstat.c409 nvlist_add_number(di, SNDST_DSPS_PCHAN, d->playcount); in sndstat_build_sound4_nvlist()
411 if (d->playcount > 0) { in sndstat_build_sound4_nvlist()
1234 d->playcount ? "play" : "", in sndstat_prepare_pcm()
1235 (d->playcount && d->reccount) ? "/" : "", in sndstat_prepare_pcm()
1239 d->playcount, d->pvchancount, in sndstat_prepare_pcm()
1243 ((d->playcount != 0 && d->reccount != 0) && in sndstat_prepare_pcm()
H A Dvchan.c272 if (d->playcount < 1) { in sysctl_dev_pcm_vchans()
837 if (d->playcount > 0) in sysctl_hw_snd_vchans_enable()
H A Dchannel.c1186 d->playcount++; in chn_init()
1332 d->playcount--; in chn_kill()
H A Ddsp.c382 (DSP_F_WRITE(flags) && d->playcount == 0))) in dsp_open()
392 if (d->playcount > 0) in dsp_open()